Commit 98ae1f1b by BellCodeEditor

save project

parent 301e255b
Showing with 8 additions and 1 deletions
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
pen.goto(-100,0)
pen.pencolor("yellow") pen.pencolor("yellow")
pen.fillcolor("red") pen.fillcolor("red")
pen.begin_fill() pen.begin_fill()
pen.speed(100) pen.speed(100)
for i in range(36):
pen.forward(200)
pen.right(170)
pen.hideturtle()
turtle.done()
pen.goto(200,200)
for i in range(36): for i in range(36):
pen.forward(200) pen.forward(200)
pen.right(170) pen.right(170)
pen.end_fill() pen.end_fill()
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
pen.end_fill()
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