Commit 4df244d8 by BellCodeEditor

save project

parent 8b7a6fe8
Showing with 6 additions and 4 deletions
...@@ -5,16 +5,17 @@ screen.bgcolor("pink") ...@@ -5,16 +5,17 @@ screen.bgcolor("pink")
pen=turtle.Pen() pen=turtle.Pen()
pen.write("Hi,诺伊",font=("Times",30,"normal")) pen.write("Hi,诺伊",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
a=50
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.color("red") pen1.color("red")
pen1.penup() pen1.penup()
pen1.goto(-100,0) pen1.goto(-100,0)
pen1.pendown() pen1.pendown()
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(a*2)
pen1.circle(50,180) pen1.circle(a,180)
pen1.left(270) pen1.left(270)
pen1.circle(50,180) pen1.circle(a,180)
pen1.forward(100) pen1.forward(a*2)
pen1.hideturtle() pen1.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