import fileinput f=open("1.txt","r") m=0 for i in range(100): s=f.readline() m+=int(s) print(m)
原文地址:https://www.cnblogs.com/chif/p/9280837.html
时间: 2024-10-12 20:41:59
import fileinput f=open("1.txt","r") m=0 for i in range(100): s=f.readline() m+=int(s) print(m)
原文地址:https://www.cnblogs.com/chif/p/9280837.html