Opps whoops some cleanup

main
HeNine 11 months ago
parent b6f80ab8f3
commit ea5dacf69c

@ -40,7 +40,6 @@ def process_input(infile):
b = max(b, pb) b = max(b, pb)
if r <= 12 and g <= 13 and b <= 14: if r <= 12 and g <= 13 and b <= 14:
# print(f"Game {game[0]} legal.")
id_sum += game[0] id_sum += game[0]
return id_sum return id_sum

@ -52,4 +52,4 @@ with open("day02/data/input100.txt") as infile:
with open("day02/data/input101.txt") as infile: with open("day02/data/input101.txt") as infile:
result = process_input(infile) result = process_input(infile)
print(result) print(result)
# print(result == 2512) print(result == 67335)

Loading…
Cancel
Save