Commit 9f936f44 by BellCodeEditor

save project

parent 684285ec
Showing with 8 additions and 9 deletions
import csv
data = [95,92,94]
with open("csv","w",encoding="utf-8") as csvfile:
writer=csv.writer(csvfile)
writer.writerow(data)
with open("csv","w",encoding="newline") as csvfile:
writerows=csv.writer(csvfile)
writerows.writerow(data)
\ No newline at end of file
with open("report.csv","r",encoding="utf-8") as csvfile:
csv.reader(csvfile)
csv.=list(f_csv)
pipi = f_csv[7]
print(pipi)
for row in f_csv:
print(row[3])
\ 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