226678/how-can-i-take-the-square-root-of-1-using-python
When I take the square root of -1 it gives me an error:
invalid value encountered in sqrt
How to fix that?
from numpy import sqrt arr = sqrt(-1) print(arr)
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.