My solutions to advent of code 2018 Original puzzles for context can be found at https://adventofcode.com/2018
An everyday puzzle event in December until Christmas
I used Python 3.6 as it's my most famililar language and easier to set up for short scripts. Occasionally many days were done at once as this was during my exam period
Each folder is self contained as it's own day
Before day 6 you can run the solutions by uncommenting the appropriate lines where marked.
On day 6 and onwards I switched to using fileinput module to make reading the inputs cleaner. I also split each part of the solutions into two functions to make it easier to read
To run cd into the appropriate folder then run below into terminal after uncommenting to get either part 1 or 2
$ python solution.py input.txt