352,926 views
13 votes
13 votes
I am looking for code HS 3.4.5 in Technology

User Cody Konior
by
2.4k points

1 Answer

5 votes
5 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 Vineet Reynolds
by
2.7k points