Commit a0c7c192 by BellCodeEditor

save project

parent 361b5152
Showing with 4 additions and 7 deletions
import csv import csv
data = [["姓名", "语文", "数学", "英语"], data = [["姓名", "语文", "数学", "英语"],
["小贝",-100, -100, -100], ["小贝",0,0, 0],
["聪聪", 100,100,100]] ["聪聪", 100,100,100]]
with open('test.csv','w',encoding='utf-8') as file: with open('test.csv','w',encoding='utf-8') as file:
......
姓名,语文,数学,英语 姓名,语文,数学,英语
小贝,-100,-100,-100
小贝,-100,-100,-100 聪聪,100,100,100
聪聪,100,100,100
......
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