Home / Programming MCQs / Python MCQs / Question

R

Rajeev Malhotra • 3.97K Points
Extraordinary

Q. Which of the following operators in python evaluates to “true” if it does not find a variable in the specified sequence otherwise “false”?

(A) **
(B) is
(C) not in
(D) //
Explanation by: Rajeev Malhotra
“X not in mySeq” will return True if X is not an element of mySeq and False otherwise.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.