Unable to load image
Reported by:

rDrama Advent of Code Day *TWO*: High Turnout Edition

https://i.rdrama.net/images/17014924977518919.webp

Summary for those just joining us:

Advent of Code is an annual Christmas themed coding challenge that runs from December 1st until christmas. Each day the coding problems get progressively harder. We have a leaderboard and pretty good turnout, so feel free to hop in at any time and show your stuff!

Whether you have a single line monstrosity or a beautiful phone book sized stack of OOP code, you can export it in a nice little image for sharing at https://carbon.vercel.app

What did you think about today's problem?

https://adventofcode.com/2023

Our Code is 2416137-393b284c (No need to share your profile, you have the option to join anonymously if you don't want us to see your github)

50
Jump in the discussion.

No email address required.

Foray into regex for me as a guy whose only experiencing importing files for coding is to work with very easily organized tabled data. I probably could have cleaned up the color finding into a function instead of dropping it under both the if and elif statement but oh well. I only had to add a single line to all of this multiplying the maxes for each game to get the answer for the second puzzle.

Python's documentation also really sucks for newbies, I think it's my biggest complaint with the language.

https://i.rdrama.net/images/17015575562292295.webp

Jump in the discussion.

No email address required.

I'd be so much more open to python if I didn't have to give up whitespace and indent control

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.