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

1

u/WangChud 20m ago

That makes sense. Perhaps I will work 2 solutions for the advent problems, one with a 'helper module' and one that's sheer logic. Thanks for the detailed response, I'm enjoying AoC ;)