Commit 0c596568 by BellCodeEditor

save project

parent 5b8c17d2
Showing with 3 additions and 0 deletions
...@@ -5,10 +5,13 @@ ...@@ -5,10 +5,13 @@
import turtle import turtle
Pen=turtle.Pen() Pen=turtle.Pen()
Pen.fillcolor("green")
Pen.begin_fill()
Pen.shape("turtle") Pen.shape("turtle")
for i in range(5): for i in range(5):
Pen.forward(200) Pen.forward(200)
Pen.right(144) Pen.right(144)
Pen.end_fill()
Pen.hideturtle() Pen.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