Commit 6a06e02a by BellCodeEditor

save project

parent fc21027f
Showing with 9 additions and 5 deletions
......@@ -3,13 +3,16 @@ import turtle
pen=turtle.Pen()
pen.write("你好!",font=("Times",20,"normal"))
p1=turtle.Pen()
p1.penup(0,180)
p1.penup()
p1.forward(100)
p1.pendown()
p1.pensize(5)
p1.pencolor("blue")
len=50
p1.left(45)
p1.forward(100)
p1.circle(50,180)
p1.forward(2*len)
p1.circle(len,180)
p1.right(90)
p1.circle(50,180)
p1.forward(100)
p1.circle(len,180)
p1.forward(2*len)
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