Run »
import numpy as np base = 3 perp = 4 x = np.hypot(base, perp) print(x)
5.0