📅  最后修改于: 2022-03-11 14:45:17.340000             🧑  作者: Mango
import turtle
lengths = [10,20,30,40,50,60,70,80,90,100,120]
amy= turtle.Turtle()
amy.color("red")
amy.wide(5)
amy.speed(5)
for length in lengths:
amy.forward(length)
amy.right(90)