def problem_13():
f=open(a,"r")
count=0
sum2=0
while count<100:
line=f.readline()
line=line.strip('\n')
sum2=sum2+int(line)
count=count+1
f.close()
return sum2
project Euler 13
最新推荐文章于 2022-03-07 07:44:42 发布
def problem_13():
f=open(a,"r")
count=0
sum2=0
while count<100:
line=f.readline()
line=line.strip('\n')
sum2=sum2+int(line)
count=count+1
f.close()
return sum2