Articles → Python → Complex Function In Python
Complex Function In Python
Purpose
Example
cNum = 2+ 3j
print(type(cNum))
print(cNum)
# define complex number using complex function
print("define complex number using complex function")
cNum = complex(2,3)
print(type(cNum))
print(cNum)
Output