Commit ae6c5217 by BellCodeEditor

save project

parent 205017e8
Showing with 13 additions and 3 deletions
...@@ -3,8 +3,17 @@ ...@@ -3,8 +3,17 @@
""" """
import turtle import turtle
pen=turtle.Pen() p=turtle.PPen()
p.fillcolour("green")
p.begin_fill()
for i in range(5): for i in range(5):
pen.forward(100) p.forward(100)
pen.left(144) p.left(144)
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