complex var python code example Example: complex numbers python c = 1 + 2j print(type(c)) print(c) c1 = complex(2, 4) print(type(c1)) print(c1)