Commit f761215a by BellCodeEditor

save project

parent 850443e5
Showing with 4 additions and 1 deletions
...@@ -6,8 +6,10 @@ pen = turtle.Pen() ...@@ -6,8 +6,10 @@ pen = turtle.Pen()
pen.goto(-200,0) pen.goto(-200,0)
pen.shape("turtle") pen.shape("turtle")
pen.color("blue") pen.color("blue")
pen.fillcolor("green")
pen.begin_fill()
for i in range(5): for i in range(5):
pen.forward(500) pen.forward(500)
pen.right(144) pen.right(144)
pen.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