Number hypot() Method in Python 3:
The method hypot()
return the Euclidean norm, sqrt(x*x + y*y). This is length of vector from
origin to point (x,y)
Syntax
import math
hypot()
|
Note: This function is not accessible directly,
so we need to import math module and then
we need to call this function using math
static object.
Parameters
· x - This must be a
numeric value.
· y - This must be a
numeric value.
Return Value
This method returns Euclidean norm,
sqrt(x*x + y*y).
and the output is: