Commit 5f2601d7 by BellCodeEditor

save project

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