练习__画扇子

0

import turtle

turtle.ht()

turtle.lt(30)

turtle.title('这里就是标题')

turtle.shape('turtle')

turtle.shapesize(2,6,0)

turtle.fillcolor('white')

turtle.bgcolor('white')

turtle.color('red')

turtle.speed(0)

turtle.pensize(5)

for x in range(120):
    turtle.fd(100)
    turtle.fd(-100)
    turtle.lt(1)

turtle.rt(180)

for x in range(120):
    turtle.fd(20)
    turtle.fd(-20)
    turtle.rt(1)

0

发表评论