Commit f45505f1 by BellCodeEditor

save project

parent 4e2bce51
Showing with 12 additions and 3 deletions
...@@ -2,9 +2,19 @@ import turtle ...@@ -2,9 +2,19 @@ import turtle
penl = turtle.Pen() penl = turtle.Pen()
penl.shape("turtle") penl.shape("turtle")
penl.fillcolor("red")
penl.begin_fill()
for i in range(5): for i in range(5):
penl.forward(200) penl.forward(200)
penl.right(144) penl.right(144)
penl.end_fill()
penl.hideturtle() penl.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