Search Results for: Rags not sorted
prints a truthy value if a triangle (any triangle) could have side lengths a, b and c and outputs a falsy value otherwise. input three positive integers in any sensible format, for example: three distinct function arguments, f( , , ) a list of three numbers, [ , ] a comma-separated string, " , " you may not
assume the inputs are sorted. output a truthy value if a triangle could have the sides with the lengths given, falsy otherwise. test cases , , -> truthy , , -> falsy , , -> falsy , , -> falsy , , -> falsy , , -> falsy , , -> truthy , , -> truthy , , -> truthy , , -> truthy , , -> truthy , , -> truthy...
https://codegolf.stackexchange.com/questions/199353/is-this-a-triangle