Commit e15cc5cf by BellCodeEditor

auto save

parent 3a5cba91
Showing with 28 additions and 0 deletions
import turtle
pen = turtle.Pen() #创建画笔
pen.pensize(5)
pen.speed(20)
pen.goto(-100,0)
pen.pencolor("yellow")
pen.fillcolor("red")
pen.begin_fill()
for i in range(36):
pen.forward(200)
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.hideturtle()
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