Python, complex types to work with complex numbers (absolute values, declination, polar transformations, etc.) https://from-locals.com/python-complex/