/r/Python's 2022 Advent of Code
It's December, which means it's time for Advent of Code!
Advent of Code is a yearly advent calendar where there's a new programming puzzle each day. They vary in difficulty and don't require a computer science background to solve. You can solve the problems using any programming language you like, so while we love python here, you can take this as an opportunity to explore other languages. If you have trouble with one of the puzzles, don't worry, another day's puzzle might be easier for you!
This year we're joining our sister community, /r/LearnPython, for a shared leaderboard. The /r/Python and /r/LearnPython leaderboard code is: 1179846-33292986. Our sister community, the Python Discord is also hosting a leaderboard, head to #advent-of-code to join and discuss the puzzles!
If you want to talk about your solutions, please state which day the solution is for, and then put the solution under the spoiler tag (>!spoilers!< will become spoilers). Please be sure to format your code for reddit or host it on a code hosting site such as GitHub or GitLab. Additional discussion of the daily puzzles can be found on the Advent of Code Subreddit: /r/adventofcode
link to the leaderboard: https://adventofcode.com/2022/leaderboard/private
enter the code 1179846-33292986 and click Join!
We hope you take this time as a chance to have some fun solving these puzzles! Good luck!
12 comments · 98% upvoted · other discussions
There is a general trend toward more difficult puzzles as the month progresses... Day 2 could very well be easier for you than Day 1, but Day 10 will definitely be harder than Day 2. But you tend to get into the rhythm of it as it goes. Don't get discouraged if you can't keep up late in the month... reading other people's solutions is very educational. And don't get hung up on making it to the leaderboards... they fill up one or two minutes after the puzzle is released.