Commit 430f7ab0 by BellCodeEditor

auto save

parent a77dbd8e
Showing with 10 additions and 11 deletions
import turtle
p = turtle.Pen()
p.fillcolor("red")
p.color("red")
p.begin_fill()
p.penup()
p.setpos(-300,100)
p.pendown()
for i in range(5):
p.forward(100)
p.right(144)
p.end_fill()
pen = turtle.Pen()
pen.color("red")
pen.fillcolor("red")
pen.begin_fill()
for i in range(10):
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