demo_type_complex2.py:
x = complex(1j) #display x: print(x) #display the data type of x: print(type(x))
C:\Users\My Name>python demo_type_complex2.py
lj
<class 'complex'>