Concept

complex(real, imag)

This function converts real numbers to a complex number.

c = complex(1, 2) print(c)
(1+2j)

0

0

Updated 2021-07-27

Contributors are:

Who are from:

Tags

Python Programming Language

Data Science