Which method is used to remove the entire dictionary?

21. Which method is used to remove the entire dictionary?

  1. pop()
  2. delete()
  3. delete_all()
  4. clear()

Answer: D) clear()

Explanation:

The clear() method is used to delete the entire dictionary.

Comments and Discussions!

Load comments ↻






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