Commit 5f2601d7 by BellCodeEditor

save project

parent 01d5c16b
Showing with 7 additions and 6 deletions
import csv
data = [["姓名", "语文", "数学", "英语"],
["小贝", 98, 99, 92],
["聪聪", 95, 91, 95]]
with open("score.csv","w",encoding="utf-8",newline="") as csvfile:
whire=csv.writer(csvfile)
whire.writerows(data)
with open('rwport.csv',"r", encoding="utf-8")as f:
f_csy = csv.reader(f)
f_csy = list(f_csv)
pipi = f_csv[7]
\ No newline at end of file
imporc csy
with open('report)
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