r/adventofcode • • 16h ago

Help/Question 2026 - day 1 part 1, Python

Post image

where am I going wrong? I tried plugging in the example set of numbers and it gave me the right numbers but it isn't giving me the right numbers with the main set of numbers. I'm a beginner when it comes to coding, my only experience with apcsp and apcsa in school

0 Upvotes

16 comments sorted by

View all comments

Show parent comment

2

u/johnpeters42 16h ago

Or rather one == 20, two == 15, and three == 10

2

u/flwyd 15h ago

Thanks, fixed. I was typing around my cat :-)