7-4 jmu-python- determines whether or triangular configuration (10 minutes)
Three sides of the triangle input, determines whether a triangle configuration. If it can constitute output yes, otherwise output no.
Input formats:
The direct input in a line three integers, each with a space interval between the three integers, no other additional characters.
Output formats:
Direct output yes or no, without any other additional characters.
Sample Input 1:
3 4 5
Output Sample 1:
yes
Sample Input 2:
1 2 3
Output Sample 2:
no
a,b,c=input().split() a,b,c=eval(a),eval(b),eval(c) if a+b>c and a+c>b and b+c>a: print("yes") else: print("no")