Python - Operators and Expression Evaluation
Which of the following is the correct syntax to check if variable
a is not the same object as b?a is not the same object as b?is not.a is not b is the correct syntax; other options are either value comparison or invalid syntax.is not to check different objects, not != [OK]!= instead of is notnot is which is invalid!== in Python15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions