LearnPy Hub
← If…Else problems
Medium

Can It Be a Triangle?

Read three side lengths. Print Yes if they can form a triangle (each side shorter than the sum of the other two), otherwise No.

Input

Three integers on one line.

Output

Yes or No.

Sample 1

Input
3 4 5
Output
Yes

Sample 2

Input
1 2 3
Output
No
solution.py
Output appears here
Can It Be a Triangle? · Python practice problem · LearnPy Hub