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)
1 Respuesta
+ 1
at the last line, put
print(area_of_triangle(base, height))
base = int(input()) height = int(input()) def area_of_triangle(base, height): area = (1/2 * base * height) return(area)