Commit 36337227 by BellCodeEditor

save project

parent 3bd5cbe9
Showing with 11 additions and 9 deletions
...@@ -2,14 +2,15 @@ import turtle ...@@ -2,14 +2,15 @@ import turtle
p1 = turtle.Pen() p1 = turtle.Pen()
p1.penup() p1.penup()
p1.goto(100,-100) p1.goto(100,-100)
p1.write("isks,\ngsjsb\n"font=("宋体",20,"normal")) p1.write("isks,\ngsjsb\n",font=("宋体",20,"normal"))
p1.hideturtle() p1.hideturtle()
turtle.done() t2 =turtle.Pen()
P2 =turtle.Pen() t2.pencolor("red")
p2.it(45) t2.pendown()
P2.fd(100) t2.lt(45)
p2.circle(50,180) t2.fd(100)
p2.rt(90) t2.circle(50,180)
p2.circle(50,180) t2.rt(90)
p2.fd(100) t2.circle(50,180)
t2.fd(100)
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