Commit b4c7d33d by BellCodeEditor

save project

parent 491dadb0
Showing with 2 additions and 1 deletions
...@@ -3,6 +3,7 @@ import turtle ...@@ -3,6 +3,7 @@ import turtle
myTurtle = turtle.Turtle() myTurtle = turtle.Turtle()
myTurtle.fillcolor("red") myTurtle.fillcolor("red")
myTurtle.begin_fill()
myTurtle.shape("arrow") myTurtle.shape("arrow")
myTurtle.setheading(90) myTurtle.setheading(90)
myTurtle.pendown() myTurtle.pendown()
...@@ -10,6 +11,6 @@ for index in range(5): ...@@ -10,6 +11,6 @@ for index in range(5):
myTurtle.forward(200) myTurtle.forward(200)
myTurtle.left(144) myTurtle.left(144)
myTurtle.begin_fill() myTurtle.end_fill()
myTurtle.penup() myTurtle.penup()
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