#0703
LScore = int(input())
UScore = int(input())
import csv
with open('Pyprog0703.csv') as csvfile:
reader = csv.reader(csvfile)
rows = [row for row in reader]
for lst in rows:
a=0
for i in lst:
try:
i=int(i)
if i<10000:
a = a+i
except ValueError:
pass
if a>LScore and a<UScore:
print('准考证号:{} 总分:{}'.format(lst[0],a))
利用Python统计成绩
于 2022-04-28 23:49:32 首次发布