hypot

math.hypot(*coordinates)

Returns the Euclidean norm, sqrt(x*x + y*y).

coordinates

REMARKS
* Return the Euclidean norm, sqrt(sum(x**2 for x in coordinates)). This is the length of the vector from the origin to the point given by the coordinates.

import math 

© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top