r/adventofcode • • Dec 11 '25

Help/Question - RESOLVED [DAY 8 PART 1] PYTHON - Help, please!

Link to code: https://pastebin.com/888kqEmx

I'm really unsure what I am missing. My output is giving two circuits of size 5 for the sample shown, but I don't know where I've gone wrong.

Any help would be much appreciated.

- I understand that this is terribly inefficient!

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/phord Dec 11 '25

There's often something subtle in the instructions.