Commit a865aa98 by BellCodeEditor

save project

parent 3be7d39f
Showing with 12 additions and 0 deletions
import turtle
a=turtle.Pen()
a.fillcolor("red")
a.begin_fill()
for i in range(5):
a.forward(200)
a.left(144)
a.end_fill()
turtle.done()
...@@ -3,8 +3,11 @@ ...@@ -3,8 +3,11 @@
""" """
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
turtle.fillcolor("red")
turtle.begin_fill()
for i in range(5): for i in range(5):
pen.forward(200) pen.forward(200)
pen.left(144) pen.left(144)
turtle.end_fill()
turtle.done() turtle.done()
pen.hideturtle() pen.hideturtle()
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