Commit 5a9f84c8 by BellCodeEditor

save project

parent 8468ebc2
Showing with 10 additions and 1 deletions
...@@ -2,7 +2,6 @@ import turtle ...@@ -2,7 +2,6 @@ import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.write("hi,老八~\n用厕所做小汉堡太好吃啦\n",font=("Times",50,"normal")) pen.write("hi,老八~\n用厕所做小汉堡太好吃啦\n",font=("Times",50,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pencolor("yellow") pen1.pencolor("yellow")
pen1.pensize(5) pen1.pensize(5)
...@@ -14,3 +13,12 @@ pen1.circle(50,180) ...@@ -14,3 +13,12 @@ pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.hideturtle() pen1.hideturtle()
turtle.done() turtle.done()
len=60
pen1.left(45)
pen1.forward(2*len)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(len,180)
pen1.forward(2*len)
pen1.hideturtle()
tirtle.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