Commit 3c4e3600 by BellCodeEditor

auto save

parent acbe37e4
Showing with 8 additions and 6 deletions
1,2,3,4,5
1
# 利用write()帮助悟空给诺依回信吧~ import csv
import turtle
pen=turtle.Pen() data = [[1,2,3,4,5],[1]]
pen.write("诺依,我也学会用画板写字了",font=("Times",15,"normal")) with open("ccc.csv","w",encoding="utf-8",newline="") as csvfile:
pen.hideturtle() writer = csv.writer(csvfile)
turtle.done() writer.writerows(data)
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