Commit 1a5ffed5 by BellCodeEditor

save project

parent 31b260d7
Showing with 4 additions and 3 deletions
...@@ -6,11 +6,11 @@ import turtle ...@@ -6,11 +6,11 @@ import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.shape("turtle") pen.shape("turtle")
pen.fillcolor("orange") pen.fillcolor("red")
pen.begin_fill("orange") pen.begin_fill("red")
for i in range(6): for i in range(6):
pen.forward(100) pen.forward(100)
pen.right(60) pen.right(60)
pen.end_fill("orange") pen.end_fill("red")
pen.hideturtle() pen.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