Commit e5b6455b by BellCodeEditor

save project

parent 9c284676
Showing with 12 additions and 5 deletions
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
for i in range(4):
pen.forward(200)
pen.right(90)
pen.penup()
pen.goto(100,0)
pen.pendown()
pen.setheading(-45)
pen.fillcolor("yellow") pen.fillcolor("yellow")
pen.begin_fill() pen.begin_fill()
for i in range(36): for i in range(4):
pen.forward(200) pen.forward(140)
pen.right(170) pen.right(90)
pen.end_fill() pen.end_fill()
pen.hideturtle()
turtle.done() turtle.done()
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