Syed Jafer Kparottasalna.hashnode.devยทDec 1, 2023Why 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...python isAdd a thoughtful commentNo comments yetBe the first to start the conversation.