Which keyword is used to check the particular key in the dictionary?

29. Which keyword is used to check the particular key in the dictionary?

  1. is
  2. in
  3. check if
  4. None

Answer: B) in

Explanation:

The in keyword is used to check whether the particular element is in the key or not. It returns true if the key is there in the list else it returns false.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.