I am exploring python is vs ==, when I was exploring it, I find out if I write following;
>>> a = 10.24
>>> b = 10.24
in a python shell and on typing >> a is b, it gives me output as false. But when I write the following code in a python editor and run it I get true.
a = 10.24
b = 10.24
print(a is b)
Can anyone explain why I am getting two different results of the same variables and expression?