Commit 979069a9 by BellCodeEditor

save project

parent 8bd51af4
Showing with 4 additions and 2 deletions
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
""" """
import turtle import turtle
p=turtle.Pen() p=turtle.Pen()
p.fillcolor() p.fillcolor("red")
p. 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)
pen.hideturtle() pen.hideturtle()
p.end_fill()
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