Commit 903c7a52 by BellCodeEditor

save project

parent 18b0551f
Showing with 7 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
s=turtle.Screen() s=turtle.Screen()
s.bgcolor("pink") s.bgcolor("pink")
...@@ -10,11 +10,12 @@ p.hideturtle() ...@@ -10,11 +10,12 @@ p.hideturtle()
p1=turtle.Pen() p1=turtle.Pen()
p1.pensize(20) p1.pensize(20)
p1.pencolor("red") p1.pencolor("red")
len=45
p1.left(45) p1.left(45)
p1.fd(100) p1.fd(2*len)
p1.circle(50,180) p1.circle(len,180)
p1.right(90) p1.right(90)
p1.circle(50,180) p1.circle(len,180)
p1.fd(100) p1.fd(2*len)
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