In Python, the is operator checks for object identity,
which means it returns True if two variables point to the same memory location.
This is different from the equality operator == which checks if the values are the same.
For example, two identical lists may have equal values but not the same identity.
The is not operator checks for the opposite — it returns True if the variables do not share the same identity.
The and and or operators are logical operators and do not check memory locations.
Therefore, the operator that checks if both variables refer to the same object in memory is is.
So, the correct answer is option (A).