Commit a865aa98 by BellCodeEditor

save project

parent 3be7d39f
Showing with 13 additions and 2 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 @@
"""
import turtle
pen=turtle.Pen()
turtle.fillcolor("red")
turtle.begin_fill()
for i in range(5):
pen.forward(200)
pen.left(144)
turtle.end_fill()
turtle.done()
pen.hideturtle()
\ No newline at end of file
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