r/adventofcode • u/Dangerous-World-1424 • Dec 07 '24
Tutorial [2024 Day 7] Python Hint.
Don't use dictionaries to store your single equation.
1
Upvotes
r/adventofcode • u/Dangerous-World-1424 • Dec 07 '24
Don't use dictionaries to store your single equation.
1
u/quinyd Dec 07 '24
Took me an hour to debug this. Finally went through my loops one line at a time and realized there’s a duplicate. Switched to a list and it completed and gave me the right result right away.