MCPcopy Index your code
hub / github.com/qiwsir/StarterLearningPython / is_triangle

Function is_triangle

newcodes/answers/q50.py:10–18  ·  view source on GitHub ↗
(sides_lst)

Source from the content-addressed store, hash-verified

8 return float(x), float(y), float(z)
9
10def is_triangle(sides_lst):
11 x, y, z = sorted_sides(sides_lst)
12 if x >=0:
13 if (x + y > z):
14 return True
15 else:
16 return False
17 else:
18 return False
19
20def side_triangle(sides_lst):
21 x, y, z = sorted_sides(sides_lst)

Callers 1

q50.pyFile · 0.85

Calls 1

sorted_sidesFunction · 0.85

Tested by

no test coverage detected