I came across different behavior of 'is' in python.
n = 50000
if n is 50000 : #comparison is success
print "Its 50k" #Holds true
Switch over to python 'Terminal' (command prompt)
>>> n = 50000
>>> n is 50000
False
Why is the behavior different? Version: 2.7.5+