In this program, area of the triangle is calculated when three sides are given using Heron's formula.
Source Code:
a = float(input('enter the first slide:'))
b = float(input('enter the second slide:'))
c = float(input('enter the third slide:'))
s = (a+b+c)/2
area=(s*(s-a)*(s-b)*(s-c))**0.5
print('the area of tringle is %0.2f' %area)
__________________________________________