import turtle
t = turtle.Turtle()
t.speed(30)
t.fillcolor('greenyellow')
t.begin_fill()
t.forward(100)
t.left(120)
t.forward(50)
t.left(60)
t.forward(50)
t.left(60)
t.forward(50)
t.end_fill()
t.fillcolor('red')
t.begin_fill()
t.left(180)
t.forward(100)
t.left(60)
t.forward(50)
t.left(120)
t.forward(100)
t.left(120)
t.forward(50)
t.end_fill()
t.fillcolor('yellow')
t.begin_fill()
t.forward(50)
t.left(120)
t.forward(50)
t.end_fill()
t.hideturtle()