Which operator is used in Python to directly check whether a key exists in a…
PYQ IBPS SO CRP SPL-XIV (2024)
Which operator is used in Python to directly check whether a key exists in a dictionary?
- A.
find() operator
- B.
search() method
- C.
in operator
- D.
index() method
- E.
contains() function
Attempted by 52 students.
Sign up free to check your answer
Sign up freeLoading lesson…

