public magnitude() as Double:
Returns the magnitude (or absolute value) of the complex number.
The magnitude of the complex number. c = Complex<>(3, 4) print(c.magnitude()) # Output: 5
c = Complex<>(3, 4) print(c.magnitude()) # Output: 5