diff --git a/2021/1/main.py b/2021/1/main.py index 0b2eddc..1d254c5 100644 --- a/2021/1/main.py +++ b/2021/1/main.py @@ -1,5 +1,5 @@ with open('input', 'r') as fp: - last = int(fp.readline().rstrip()) + last = int(fp.readline()) increment = 0 decrement = 0 @@ -16,4 +16,6 @@ with open('input', 'r') as fp: last = amt -print increment, ",", decrement, ",", same +print "Increased: ", increment +print "Decreased: ", decrement +print " Remained: ", same