Commit 3cb60e24 by BellCodeEditor

save project

parent e955fd00
Showing with 5 additions and 4 deletions
...@@ -7,13 +7,14 @@ p.write("诺......(此处省略一万个字)",font=("Times",13,"normal")) ...@@ -7,13 +7,14 @@ p.write("诺......(此处省略一万个字)",font=("Times",13,"normal"))
p.hideturtle() p.hideturtle()
p1=turtle.Pen() p1=turtle.Pen()
p1.pensize(5) p1.pensize(5)
len=800
p1.pencolor("red") p1.pencolor("red")
p1.left(45) p1.left(45)
p1.forward(100) p1.forward(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.forward(100) p1.forward(2*len)
s=turtle.Screen() s=turtle.Screen()
s.bgcolor("light blue") s.bgcolor("light blue")
turtle.done() turtle.done()
......
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