Commit 3e32c83c by BellCodeEditor

save project

parent 3477989b
Showing with 7 additions and 6 deletions
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好!",font=("Times",20,"normal")) pen.write("你好!",font=("Times",20,"normal"))
turtle.done()
p1=turtle.Pen() p1=turtle.Pen()
p1.penup(0,180)
p1.pensize(5) p1.pensize(5)
p1.pencolor("blue") p1.pencolor("blue")
p1.left(45) p1.left(45)
forward(100) p1.forward(100)
p1.cirde(50,180) p1.circle(50,180)
right(90) p1.right(90)
p1.cirde(-50,180) p1.circle(50,180)
forward(100) p1.forward(100)
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