project euler之Large sum import fileinput f=open("1.txt","r") m=0 for i in range(100): s=f.readline() m+=int(s) print(m)