Better output. Removed .rstrip() because I no longer need it.
This commit is contained in:
parent
34121bfb96
commit
b04338b19e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user