I am learning Python through a video tutorial and tutor is using Python2. I am using Python3 to test and learn the code. In this process I have noticed the difference:
Python2: type(10)
<type 'int'>
Python3: type(10)
<class 'int'>
Is this a change only to remove the ambiguity that 'int' is a class and not 'type'? as type is a metaclass. Saying so, I am not aware what metaclass is all about, it may be part of my learning in future. But I am willing to understand why there is a difference.