Commit 5e9b251e by BellCodeEditor

save project

parent aae4c77c
Showing with 2 additions and 15 deletions
姓名,语文,数学,英语
小贝,98,99,92
聪聪,95,91,95
print("hello world")
\ No newline at end of file
import csv
with open("114514.csv","r",encoding="utf-8",newline="")as f:
f_csv=csv.reader(f)
f_csv=list(f_csv)
for i in range(1,4):
print(f_csv[2][i])
for i in f_csv:
print( i[1])
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