标签:fileinput txt port class put for euler input line
import fileinput f=open("1.txt","r") m=0 for i in range(100): s=f.readline() m+=int(s) print(m)
标签:fileinput txt port class put for euler input line
原文地址:https://www.cnblogs.com/chif/p/9280837.html