You are viewing a single comment's thread. Return to all comments →
Python 3
inputs = [int(input()) for _ in range(int(input()))] print(str(sum(inputs))[:10])
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #13: Large sum
You are viewing a single comment's thread. Return to all comments →
Python 3