Project Euler #13: Large sum

  • + 0 comments

    Python3

    if name == 'main':

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