Project Euler #13: Large sum

  • + 0 comments

    100% python

    n = int(input())
    ans = 0
    for _ in range(n):
        num = int(input())
        ans += num
    
    print(str(ans)[:10])