Area of traingle in python
Area of traingle in python
a= int(input('enter the value of a:')) b= int(input('enter the value of b:')) c= int(input('enter the value of c:')) s=(a+b+c)/2area= (s*(s-a)*(s-b)*(s-c))**0.5print('The area of traingle is ',area)

No comments