demo_numbers_convert.py:
➜ begtut>python demo_numbers_convert.py
1.0
2
(1+0j)
<class 'float'> <class 'int'> <class 'complex'>