import turtle turtle.setup(500,500) turtle.fillcolor("red") turtle.begin_fill() for i in range(5): turtle.fd(100) turtle.right(144) turtle.end_fill() turtle.done