a=int(input("Ingresar el valor de a: "))
b=int(input("Ingresar el valor de b: "))
c=int(input("Ingresar el valor de c: "))
if (a+b>c) and (a+c>b) and (b+c>a):
print("Forma el triángulo")
P=(a+b+c)/2
A=(P*(P-a)*(P-b)*(P-c))**(1/2)
print("Su área es: ", A)
else:
print("No forma el triángulo")
To embed this project on your website, copy the following code and paste it into your website's HTML: