Commit b4c7d217 by BellCodeEditor

save project

parent f3d0995e
Showing with 6 additions and 5 deletions
...@@ -8,17 +8,17 @@ pen1.penup() ...@@ -8,17 +8,17 @@ pen1.penup()
pen1.goto(100,-100) pen1.goto(100,-100)
pen1.write("你好.",font=("Times",30,"normal")) pen1.write("你好.",font=("Times",30,"normal"))
pen1.hideturtle() pen1.hideturtle()
len=20
pen=turtle.Pen() pen=turtle.Pen()
pen.left(45) pen.left(45)
pen.forward(40) pen.forward(2*len)
pen.circle(20,180) pen.circle(len,180)
pen.right(90) pen.right(90)
pen.circle(20,180) pen.circle(len,180)
pen.forward(40) pen.forward(2*len)
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