Python: Basic: Is Triangle

Write the function is_triangle that takes 3 values corresponding to 3 sides of a triangle and returns a boolean whether a triangle can be formed with the given lengths. More information about how to determine a valid triangle can be found here.


is_triangle(3, 4, 5) -> True
is_triangle(1, 4, 10) -> False

Test 1    

Test 2    

Test 3    

Test 4