You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
##day1 puzzle1 of the coding advent, to help santa we have to calibrate this thing and find the frequency after all the adjustments listed in day1input
#load file full of adjustments
with open('day1input') as f:
line = f.readline()
##setup
cnt = 1
frequency = 0
while line:
#print(int(line))
##add the adjustment to the frequency, this could be one statement but i made it two