a = float(input("Enter a:")) b = float(input("Enter b:")) c = float(input("Enter c:")) s = (a+b+c)/2 formula = (s*(s-a)*(s-b)*(s-c))**1/2 print("Area of triangle is : %.2f" % formula)