Commit fcd6bbcb by BellCodeEditor

save project

parent 3b3de298
Showing with 8 additions and 4 deletions
...@@ -6,13 +6,17 @@ pen.penup() ...@@ -6,13 +6,17 @@ pen.penup()
pen.goto(200,0) pen.goto(200,0)
pen.write("你好",font=("Times",13,"normal")) pen.write("你好",font=("Times",13,"normal"))
pen.hideturtle() pen.hideturtle()
len=10
pen.penup()
pen.goto(100,100)
pen.pendown()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(len*2)
pen1.circle(50,180) pen1.circle(len,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(len,180)
pen1.forward(100) pen1.forward(len*2)
pen1.size("100") pen1.size("100")
pen1.pencolor("red") pen1.pencolor("red")
pen1.hideturtle() pen1.hideturtle()
......
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