def rightTrianglePerimeter(a, b): return a + b + hypotenuse(a, b)