Commit 2029c972 by BellCodeEditor

save project

parent 3faf4b37
Showing with 9 additions and 4 deletions
"""读取csv文件""""
\ No newline at end of file
import csv
with open("report.csv","r",encoding="utf-8")as file1:
a=csv.reader(file1)
a=list(a)
print(a)
print(a[7])
for i in range(8):
print(a[i][3])
......@@ -5,4 +5,4 @@
聪聪,65,76,97,66,73,78,58,66,69
波奇,74,67,61,72,66,81,75,79,80
九尾,88,85,80,78,74,90,81,69,70
皮皮,77,87,83,69,90,79,71,74,69
\ No newline at end of file
皮皮,77,87,83,69,90,79,71,74,69
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