Exercises from the advent of code To run a solution you should pipe the input into stdin. You can download the input file and save it (I'm calling it input.txt). Then do cat input.txt | python3 ex1.py