Commit 0ec6b34c by BellCodeEditor

save project

parent 869c384c
Showing with 6 additions and 0 deletions
# 导入模块
import turtle import turtle
#创建画笔
pen=turtle.Pen() pen=turtle.Pen()
#写字
pen.write("诺依, \nturtle真好用, \n我会在画布上写字啦!",font=("Times",20,"normal")) pen.write("诺依, \nturtle真好用, \n我会在画布上写字啦!",font=("Times",20,"normal"))
#隐藏画笔
pen.hideturtle() pen.hideturtle()
#保存画布
turtle.done() turtle.done()
\ 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