Are you sure you're getting this? Click the correct answer from the options.
What is the correct way to check if a value 42
exists in the dictionary below?
1var employees = {"a": 10, "b": 53, "c": 42, "d": 88};
Click the option that best answers the question.
- 42 in employees
- 42 in employees.keys()
- 42 in employees.values()
- 42 in employees.items()