A = float(input("Digite o lado A: "))
B = float(input("Digite o lado B: "))
C = float(input("Digite o lado C: "))

if (A + B > C) and (A + C > B) and (B + C > A):
    print("É um triângulo válido!")
else:
    print("Não pode ser um triângulo.")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: