Welcome to Westonci.ca, the place where your questions are answered by a community of knowledgeable contributors. Discover comprehensive solutions to your questions from a wide network of experts on our user-friendly platform. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

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