Question PRG-PY-0056
MediumWhat does 'is' compare, as opposed to '=='?
- A.
Whether two types are equal
- B.
Nothing; they are the same
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Python question
What does 'is' compare, as opposed to '=='?
Whether two types are equal
Nothing; they are the same
Sign up free to see the answer and a step-by-step explanation.
Whether two names refer to the same object
Whether two values are equal