Commit acde9eab by BellCodeEditor

save project

parent cfebfeb0
Showing with 5 additions and 2 deletions
...@@ -3,9 +3,12 @@ ...@@ -3,9 +3,12 @@
""" """
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.fillcolour("red")
pen.begin_fill()
pen.shape("turtle") pen.shape("turtle")
for i in range(5): for i in range(5):
pen.right(144) pen.right(144)
pen.forward(100) pen.forward(100)
turtle.done() turtle.done()
pen.hideturtle() pen.hideturtle()
\ No newline at end of file pen.end_fill()
\ 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