Exercises from /r/DailyProgrammer implemented in Python 3