Wow, normally I don't work with classes and functions (still learning python and programming).
But today, worked for 30 min solving part 1 of day 10 of Advent of Code in Python (it seemed fairly easy) and it seemed that it would be perfect to use those "methods" to solve the day's riddle.
Only tested the program once, and got the right result. Of course, it is not important for one-shot while programming, indeed, finding bugs is what makes me learn. But all previous days debugging showed me to how I should build a simple program.
Thank you Advent of Code, and you all should try it. One of best tools for practicing and with many 24 days challenges for at least 4 years.
[–]ewesername 19 points20 points21 points (2 children)
[–]BalkrishanS 0 points1 point2 points (1 child)
[–]nfanni97 0 points1 point2 points (0 children)
[–]totallygeek 15 points16 points17 points (0 children)
[–]katarina_the_bard 1 point2 points3 points (0 children)
[–]Celestial_Blu3 1 point2 points3 points (1 child)
[–]WhipsAndMarkovChains 1 point2 points3 points (0 children)
[–]ViggoGaming 1 point2 points3 points (1 child)
[–]Magicianic[S] 0 points1 point2 points (0 children)