Commit 92c6d69a by BellCodeEditor

save project

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