with open('data-2024-22.txt', 'r') as f:
inp = f.read().splitlines()Advent of Code 2024 Day 22
— Day 22: Monkey Market —
For each buyer, simulate the creation of 2000 new secret numbers. What is the sum of the 2000th secret number generated by each buyer?
Obviously a function.
# here's another python cell for good luckPaste part two here