write python program to find area of triangle
Answers
Answered by
30
Answer:
# Three sides of the triangle is a, b and c:
a = float(input('Enter first side: '))
b = float(input('Enter second side: '))
c = float(input('Enter third side: '))
# calculate the semi-perimeter.
s = (a + b + c) / 2.
# calculate the area.
area = (s*(s-a)*(s-b)*(s-c)) ** 0.5.
Answered by
5
Answer:
here is the answer
Explanation:
hope it helps:)
Attachments:
Similar questions