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