import turtle
import time
fd=300
left=90
width=150
turtle.width(20)
turtle.left(left)
turtle.fd(fd)
turtle.left(left)
turtle.f
danyang -用turtle画红绿灯
最新推荐文章于 2023-03-10 15:48:54 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
import turtle
import time
fd=300
left=90
width=150
turtle.width(20)
turtle.left(left)
turtle.fd(fd)
turtle.left(left)
turtle.f