import turtle
turtle.fillcolor(“red”)turtle.up()turtle.goto(-150,0)turtle.down()turtle.begin_fill() turtle.forward(300) #向前300turtle.right(144) #顺时针旋转144° turtle.forward(300)turtle.right(144)turtle.forward(300) turtle.right(144) #重复5次 turtle.forward(300)turtle.right(144)turtle.forward(300)turtle.right(144)turtle.end_fill() turtle.done()
09-11
03-08