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
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
Social Sciences,
2 months ago
Biology,
2 months ago
Math,
2 months ago
Math,
6 months ago
Computer Science,
6 months ago
English,
10 months ago
History,
10 months ago
English,
10 months ago