Commit 52e1ddcd by BellCodeEditor

save project

parent 3de70828
Showing with 6 additions and 2 deletions
......@@ -2,8 +2,11 @@ import turtle
pen=turtle.Pen()
pen.shape("turtle")
q=5
pen.fillcolor("green")
pen.begin_fill()
for i in range(q):
pen.forward(100)
pen.left(180-36)
hideturtle()
pen.right(144)
pen.end_fill()
pen.hideturtle()
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