Commit 7ebd461c by BellCodeEditor

auto save

parent afe6c851
Showing with 9 additions and 3 deletions
...@@ -2,7 +2,12 @@ ...@@ -2,7 +2,12 @@
#导入turtle模块 #导入turtle模块
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()
pen1=turtle.Pen()
pen1.left(45)
pen1.forward(100)
pen.
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