Better output. Removed .rstrip() because I no longer need it.

This commit is contained in:
David Vereb 2021-12-02 10:33:35 -05:00
parent 34121bfb96
commit b04338b19e

View File

@ -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