port turtle #五角星 turtle.bgcolor('white') turtle.pencolor('red') turtle.fillcolor('red') turtle.begin_fill() for i in range(5): turtle.forward(100) turtle.right(144) turtle.end_fill() turtle.done()