Beginner Python
Q20 / 101

Which operator checks if two variables refer to the same object?

Correct! Well done.

Incorrect.

The correct answer is D) is

D

Correct Answer

is

Explanation

is checks identity (same memory address). == checks equality (same value). Use is for None checks: if x is None.

Progress
20/101