Test Index
CBSE Class 12 Computer Science 2026 Paper Compartment
© examsnet.com
Question : 3 of 37
Marks:
+1,
-0
Consider the statements given below and then choose the correct output from the given options :
D={"A":"MUMBAI", "B":"CHENNAI"}print("C" in D)
Solution:
Concept:The
in operator on a dictionary checks only the keys, and it returns a Boolean.Explanation:Keys of D: "A", "B"."C" is not a key, so "C" in D is False.Output:FalseAnswer:Option A (
False)© examsnet.com
Go to Question: