Commit 4d166d56 by BellCodeEditor

save project

parent ba069e1a
Showing with 5 additions and 5 deletions
...@@ -6,16 +6,16 @@ pen.penup() ...@@ -6,16 +6,16 @@ pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("你好呀",font=("Times",30,"normal")) pen.write("你好呀",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=60
b1=turtle.Pen() b1=turtle.Pen()
b1.pencolor("blue") b1.pencolor("blue")
b1.pensize(5) b1.pensize(5)
b1.left(45) b1.left(45)
b1.forward(100) b1.forward(2*len)
b1.circle(50,180) b1.circle(len,180)
b1.right(90) b1.right(90)
b1.circle(50,180) b1.circle(len,180)
b1.forward(100) b1.forward(2*len)
b1.hideturtle() b1.hideturtle()
turtle.done() turtle.done()
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