magnitude of complex number python code example Example: abs of complex nos in python abs(5j+9) #square root of 5^2 +9^2