I’ve checked the documentation for python and its’ respective modules and I noticed that there is no predefined complex function to utilize complex numbers. And since you can’t find the square root of any negative numbers, attempting to manually define i, like this:
import math i = math.sqrt(-1)
just returns an error. Therefore, I was wondering if there is any way to work with complex numbers in python? I’m sure they would be useful in one way or another.