Work out the first ten digits of the sum of the following one-hundred 50-digit numbers.
Brute force
def p13():
ans = 0
with open("p13.txt", 'r') as f:
for l in f.readlines():
ans += int(l.strip())
return str(ans)[:10]
5537376230