3 lines
122 B
Python
3 lines
122 B
Python
def hypotenuse(a, b):
|
|
"""Calculates the hipotenuse of a triangles with sides a and b"""
|
|
return (a**2 + b**2)**0.5
|