For this Question: write a function in python to calculate the area of the triangle using herone's formulaEnter three sides of the triangle separated by spaces:A single floatInput:
3 4 5

Output:
6.0, I have written this Solution Code: def triangle_area(a, b, c):
    s = (a + b + c) / 2
    return (math.sqrt(s * (s - a) * (s - b) * (s - c)))

, In this Programming Language: Python, Now tell me if this Code is compilable or not?