Commit 684285ec by BellCodeEditor

save project

parent ac99158b
Showing with 5 additions and 0 deletions
...@@ -4,3 +4,7 @@ data = [95,92,94] ...@@ -4,3 +4,7 @@ data = [95,92,94]
with open("csv","w",encoding="utf-8") as csvfile: with open("csv","w",encoding="utf-8") as csvfile:
writer=csv.writer(csvfile) writer=csv.writer(csvfile)
writer.writerow(data) writer.writerow(data)
with open("csv","w",encoding="newline") as csvfile:
writerows=csv.writer(csvfile)
writerows.writerow(data)
\ 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