csc-python-solutions/11/c/2 - The Triangles are Right.py

3 lines
69 B
Python
Raw Normal View History

2021-02-18 08:25:33 +00:00
def rightTrianglePerimeter(a, b):
return a + b + hypotenuse(a, b)