Answer (Code):
penup()
backward(100)
def bottom_line():
left(120)
color("red")
forward(100)
def triangle():
color("blue")
forward(50)
color("green")
pendown()
pensize(5)
for i in range(4):
triangle()
bottom_line()
1.6m questions
2.0m answers