标签:close display play closed war width ide bsp splay
import turtle turtle.hideturtle() #隐藏箭头 turtle.color(1,0,0) #红色 turtle.begin_fill() turtle.forward(100) turtle.left(90) turtle.forward(20) turtle.left(90) turtle.forward(20) turtle.right(90) turtle.forward(20) turtle.left(90) turtle.forward(60) turtle.left(90) turtle.forward(20) turtle.right(90) turtle.forward(20) turtle.left(90) turtle.forward(20) turtle.end_fill() #车身 turtle.color(0, 0, 0) turtle.up() turtle.forward(10) turtle.down() turtle.begin_fill() turtle.circle(10) turtle.end_fill() #左车轮 turtle.setheading(0) turtle.up() turtle.forward(90) turtle.right(90) turtle.forward(10) turtle.setheading(0) turtle.begin_fill() turtle.down() turtle.circle(10) turtle.end_fill() turtle.done()
标签:close display play closed war width ide bsp splay
原文地址:https://www.cnblogs.com/lw1095950124/p/11848730.html