demo_numbers.py:
x = 1 y = 2.8 z = 1j print(type(x)) print(type(y)) print(type(z))
➜ begtut>python demo_numbers.py
<class 'int'>
<class 'float'>
<class 'complex'>