练习圆形

1+


import turtle

turtle.setup(480,360)
turtle.title('这里是标题')
turtle.bgcolor('brown')

turtle.speed(1)
turtle.pencolor('white')
turtle.fillcolor('blue')
turtle.shape('turtle')
turtle.shapesize(2,4,5)
turtle.pensize(3)

turtle.ht()
for x in range(360):
    turtle.fd(100)
    turtle.fd(-100)
    turtle.right(1)


1+

发表评论