Improved Code and removed Warnings (#483)

This commit is contained in:
Parth Shandilya
2018-10-19 14:00:31 +05:30
committed by GitHub
parent 07451a6ca4
commit 5d1f72604d
36 changed files with 67 additions and 67 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(input().strip())
n = int(raw_input().strip())
array = []
for i in range(n):
array.append(int(input().strip()))
array.append(int(raw_input().strip()))
print(str(sum(array))[:10])