You are viewing a single comment's thread. Return to all comments →
100% python
n = int(input()) ans = 0 for _ in range(n): num = int(input()) ans += num print(str(ans)[: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 →
100% python