recently i learned about python identity operators and i facing a problem while i using it in python shell and pycharm .
my shell code be like ->
>>> a = 6000
>>> b = 6000
>>> b is a
False
it ans me False .
but when i using pycharm like ->
a = 6000
b = 6000
print( b is a )
it ans me True .
Can anyone explain me where i am going wrong and what is actual difference between python shell and ide ?