diff --git a/2021/1/main.py b/2021/1/main.py index 1d254c5..0dab4b7 100644 --- a/2021/1/main.py +++ b/2021/1/main.py @@ -1,10 +1,10 @@ +increment = 0 +decrement = 0 +same = 0 + with open('input', 'r') as fp: last = int(fp.readline()) - increment = 0 - decrement = 0 - same = 0 - for line in fp: amt = int(line) if(amt > last):