Why we should not use "IS" and use "==" in python ?
Problem Faced
a = 256
b = 256
print(a is b) # True
But when we try this,
a = 257
b = 257
print(a is b) # False
Why this is strange behaviour ?
Solution
In python, the is keyword is used to test object identity, which checks if two variables refer...