Advent of Code Python Challenge
The event will run from December 1st at Midnight EST (UTC-5) to December 21st Midnight EST (UTC-5).
Each day at midnight EST Starting December 1st through December 25th, there will be a new puzzle released on Advent of Code. They will increasingly get harder each day. 😁
We will be using Google Collab for a managed code environment.
- Go to adventofcode.com/2023
- Click on the line corresponding to the day/puzzle you want to work on
- Read the Puzzle Primer
- Click
get your puzzle input
near the bottom - Copy & Paste the input into a text file for use later
- Optionally, if you'd like to see your self on the global leaderboard, you can head to the bottom of the page and log in with your preferred method.
- Fork this repo!
- In your forked repo click on
main.ipynb
, then click Open in Colab. - On the left bar, click the file icon, then the first icon under
Files
with the up arrow on it. - Navigate to the file on your local machine and upload it.
- Get started solving the puzzle!
A hint to get started, the text file will be available at path /content/<your_file>.txt
and can be referenced in code something like this:
with open("/content/day1.txt", "r") as input:
print(input.read(100))
This will read the first 100 characters in the file and print them to the console for you to inspect.
- You many only use Python 3 and Standard Python Libraries, no Python Packages are allowed!
- No AI or GenAI, it will help you be faster at coding once you are proficient, but really slows down the learning process for those working to become proficient.
- For a challenge to be considered
complete
you must have the code and solution in your forked repo.- File > Save A Copy in Github (this saves changes back in Github on your forked branch).
- Fastest Runtime Challenge
- The hardest challenge completed
- More than 1 answer submitted
There will be prizes!
- Most Challenges Completed
- Most Efficient Code
- Fewest Lines
- Fastest Runtime
Pick any tool you are familiar with, anything from a calculator to Excel to SQL to Mulesoft and try to solve the problem once you've done it on Python.