Commit c3335671 by BellCodeEditor

save project

parent 34ce7fa6
Showing with 9 additions and 4 deletions
...@@ -3,7 +3,12 @@ from csv import * ...@@ -3,7 +3,12 @@ from csv import *
with open("report.csv","r",newline='',encoding="utf-8") as csvfile: with open("report.csv","r",newline='',encoding="utf-8") as csvfile:
f_csv=reader(csvfile) f_csv=reader(csvfile)
data=list(f_csv) data=list(f_csv)
pl=0 pl=[]
p2=[]
p3=[]
for i in range(1,len(data)): for i in range(1,len(data)):
pl+=int(data[i][2]) pl.append(int(data[i][3]))
print(pl) for i in range(1,len(data[1])):
\ No newline at end of file p2.append(data[1][i])
p3.append(data[7][i])
print(pl,p2,p3)
\ No newline at end of file
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