Commit 83edb5a8 by BellCodeEditor

save project

parent ccacac92
Showing with 2 additions and 2 deletions
......@@ -5,9 +5,9 @@ data = [["姓名","语文","数学","英语"]
["聪聪",95.91,95]
with open("scores.csv","w", encoding="utf-8",newline='')as csvfile:
with open("scores.csv","w", encoding="utf-8",newline='') as csvfile:
writer = csv.writer(cvsfile)
writer.writerow(data)
writer.writerows(data)
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