Computer Science, asked by hk282004, 6 months ago

Write a Python program to check whether a triangle can be formed by the given value for the angles.


Expected Output :

The triangle is not valid.​

Answers

Answered by sohamchhajed007
2

Answer:

a= float(input("enter angle"))

b=float(input("enter angle"))

c= float(input("enter angle"))

if a+b+c==180:

print("it is a triangle")

else:

print("The triangle is not valid.")

Similar questions