27.6k views
4 votes
I am looking for code HS 3.4.5 in Technology

1 Answer

10 votes

Answer (Code):

penup()

backward(100)

def bottom_line():

left(120)

color("red")

forward(100)

def triangle():

left(120)

color("blue")

forward(50)

left(120)

color("green")

forward(50)

pendown()

pensize(5)

color("red")

forward(50)

for i in range(4):

triangle()

bottom_line()

User Greepow
by
3.7k points