import turtle turtle.forward(100) # draw base turtle.left(120) turtle.forward(100) turtle.left(120) turtle.forward(100) turtle.done()