Commit 77e33650 by BellCodeEditor

save project

parent 782db51c
Showing with 11 additions and 4 deletions
"""读取csv文件""""
import csv
with open('scores.csv','r',encoding='utf-8') as f:
with open('report.csv','r',encoding='utf-8') as f:
f_csv = csv.reader(f)
f_csv = list(f_csv)
print(f_csv[1][2])
\ No newline at end of file
print(f_csv[1][3])
print(f_csv[2][3])
print(f_csv[3][3])
print(f_csv[4][3])
print(f_csv[5][3])
print(f_csv[6][3])
print(f_csv[7][3])
print(f_csv[7])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment