Commit ace47983 by BellCodeEditor

save project

parent 4a1f9957
Showing with 6 additions and 4 deletions
...@@ -8,13 +8,14 @@ pen.write("候逸凡\n大帅哥",font=("Times",18,"normal")) ...@@ -8,13 +8,14 @@ pen.write("候逸凡\n大帅哥",font=("Times",18,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
p1=turtle.Pen() p1=turtle.Pen()
l=20
p1.pencolor("green") p1.pencolor("green")
p1.pensize(5) p1.pensize(5)
p1.left(45) p1.left(45)
p1.forward(100) p1.forward(2*l)
p1.circle(50,180) p1.circle(l,180)
p1.right(90) p1.right(90)
p1.circle(50,180) p1.circle(l,180)
p1.forward(100) p1.forward(2*l)
p1.hideturtle() p1.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