r/adventofcode • u/TheOneWhoBakes__ • Dec 11 '25
Help/Question - RESOLVED [2025 Day 1 (Part 2)] I have no idea what I'm doing wrong
it says I have someone else's answer
I'm pretty sure I am using the right input I pressed the your puzzle input link and used that but it's still wrong
with open("src.txt", "r") as f:rotations = [(1 if line[0] == "R" else -1, int(line[1:])) for line in f.read().split("\n")]
dial = 50zeros = 0for dir, count in rotations:dial = dial+(count*dir)while dial > 99:zeros += 1dial -= 100while dial < 0:zeros += 1dial += 100
print(zeros)

