all valid python 3

This commit is contained in:
Alex Brown
2018-10-20 14:45:08 -05:00
parent b566055e4b
commit ea2ddaaf6a
37 changed files with 76 additions and 1436 deletions

View File

@ -4,11 +4,11 @@ Work out the first ten digits of the sum of the N 50-digit numbers.
'''
from __future__ import print_function
n = int(raw_input().strip())
n = int(input().strip())
array = []
for i in range(n):
array.append(int(raw_input().strip()))
array.append(int(input().strip()))
print(str(sum(array))[:10])