Computer Science
For two objects x and y, the expression x is y will yield True, if and only if
- id(x) == id(y)
- len(x) == len(y)
- x == y
- all of these
Python Data Handling
14 Likes
Answer
id(x) == id(y)
Answered By
3 Likes
Related Questions
Which Python built-in function returns the unique number assigned to an object?
The operator used to check if both the operands reference the same object memory, is the .......... operator.
Which of the following is not an immutable type in Python?
Python operator always yields the result of .......... datatype.