- 1
#finding area of triangle a=5 b=6 c=7 s=(a + b + c ) / 2 k=s((s-a)*(s-b)*(s-c)) **0.5 print("area of triangle is :-",k)
Find the error and coorect the code
1 Respuesta
+ 1
formular is
A = h*b/2
A for area, h is triangle's height and b is base length