Commit 7810e08d by BellCodeEditor

save project

parent 16cee3f7
Showing with 5 additions and 3 deletions
...@@ -3,7 +3,10 @@ ...@@ -3,7 +3,10 @@
""" """
import turtle import turtle
a=turtle.Pen() a=turtle.Pen()
for i in range(100): a.fillcolor("red")
a.begin_fill()
for i in range(5):
a.forward(100) a.forward(100)
a.right(144) a.right(144)
turtle.done() a.end_fill()
\ No newline at end of file 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