What are Identity and Membership operators ?
Question :
What are Identity and Membership operators ?
Identity operators are used to compare the objects, not if they are equal, but if they are actually the same object, with the same memory location.
Membership operators are used to if an object is present in a sequence.