When checking the type of int objects in python3 interpreter below error is encounterd:
>>> 3.14.__class__
<class 'float'>
>>> 3.__class__
File "<stdin>", line 1
3.__class__
^
SyntaxError: invalid syntax
Whereas below code works:
>>> x = 3
>>> x.__class__
<class 'int'>