IDNLearn.com provides a collaborative platform for sharing and gaining knowledge. Explore a wide array of topics and find reliable answers from our experienced community members.

I am looking for code HS 3.4.5 in Technology

Sagot :

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()