logo

Crowdly

Donat el següent programa: def area_triangle(b, h) : a = b*h//2 return...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Donat el següent programa:

def area_triangle(b, h) :

a = b*h//2

return h

base = int(input("Escriu la base del triangle: "))

alcada = int(input("Escriu l'alçada del triangle: "))

area = area_triangle(base, alcada)

print(area)

Què escriuria el programa pel canal de sortida si l'usuari escrivís com a base 3 i alçada 4?

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on atenea.upc.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!