Commit a66095c9 by BellCodeEditor

save project

parent a49c074e
Showing with 8 additions and 5 deletions
#"""读取csv文件""""
"""读取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)
print(f_csv)
f_csv = list(f_csv)
print(f_csv)
\ No newline at end of file
print(f_csv)
for i in range(8):
print(f_csv[i][3])
for j in range(10):
print(f_csv[7][j])
\ No newline at end of file
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