Home / Python Variable / How to Create an Complex Type Variable in Python In this example we will show how to create a complex type variable in Python. Source Code a = 8j b = -8j c = 6 + 8j print(type(a)) print(type(b)) print(type(c)) Output: