Commit dfa2c07d by BellCodeEditor

save project

parent a9d280d7
Showing with 4 additions and 0 deletions
...@@ -6,13 +6,17 @@ import turtle ...@@ -6,13 +6,17 @@ import turtle
# pen.hideturtle() # pen.hideturtle()
#爱心 #爱心
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.fillcolor("red")
pen1.begin_fill()
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
pen1.circle(50,180) pen1.circle(50,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.end_fill()
turtle.done() turtle.done()
pen.hideturtle() pen.hideturtle()
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