Commit d207ca83 by BellCodeEditor

save project

parent 232e12e2
Showing with 21 additions and 6 deletions
import turtle
pen=turtle.Pen()
pen.fillcolor("black")
pen.begin_fill()
for i in range(5):
turtle.forward(300)
turtle.left(144)
pen.end_fill()
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.pen
pen=turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
for i in range(5):
turtle.forward(300)
turtle.left(144)
turtle.done()
\ No newline at end of file
pen.forward(200)
pen.left(144)
pen.end_fill()
pen.hideturtle()
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