Commit e1fcb8fc by BellCodeEditor

save project

parent 7c1e7563
Showing with 9 additions and 1 deletions
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
pen.speed(10) pen.pensize(5.9)
pen.speed(20)
pen.goto(-100,0)
pen.pencolor("yellow") pen.pencolor("yellow")
pen.fillcolor("red") pen.fillcolor("red")
pen.begin_fill() pen.begin_fill()
for i in range(36): for i in range(36):
pen.forward(200) pen.forward(200)
pen.right(170) pen.right(170)
pen.penup()
pen.goto(200,200)
pen.pendown()
for i in range(36):
pen.forward(200)
pen.right(170)
pen.end_fill() pen.end_fill()
pen.hideturtle() 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