📜  python 动画 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:08.679000             🧑  作者: Mango

代码示例1
import turtle
turtle.bgcolor("black")

squary = turtle.Turtle()
squary.speed(20)
squary.pencolor("red")
for i in range(400):
    squary.backward(i)
    squary.forward(i)
    squary.left(91