0

My code is not working. Can you say why?

base = int(input()) height = int(input()) def area_of_triangle(base, height): area = (1/2 * base * height) return(area)

11th May 2021, 9:35 AM
Viswasai Koduru
Viswasai Koduru - avatar
1 Respuesta
+ 1
at the last line, put print(area_of_triangle(base, height))
11th May 2021, 10:33 AM
senz
senz - avatar