I did the following:
>>> a=10
>>> id(a)
31817408L
>>>
>>> id(10)
31817408L
So, we can see that id(a) equals id(10)
Now,i do
>>>a='what is this'
>>> id(a)
35412416L
>>>
>>>
>>>
>>> id('what is this')
31951968L
why in this case id(a) not equal to id('what is this')? What is actually happening behind the scenes?