Project Euler problem 16 elaborated

This commit is contained in:
2014-11-16 00:46:09 +04:00
parent 454ec923c0
commit afc1bc2a74

View File

@@ -17,7 +17,5 @@ for i in range(0,pp):
p = c[j]*2+r
r = p//10
c[j] = p%10
s = 0
for i in c:
s += i
print( s )
print( sum(c) )