Add a soution of ProjectEuler Problem 13

This commit is contained in:
bT-53 2017-10-27 09:19:58 +07:00 committed by GitHub
parent dc5c5768e0
commit 20a4577903

View File

@ -0,0 +1,13 @@
'''
Problem Statement:
Work out the first ten digits of the sum of the N 50-digit numbers.
'''
n = int(input().strip())
array = []
for i in range(n):
array.append(int(input().strip()))
print(str(sum(array))[:10])