Which method is an alternative method to remove the particular item from python?

22. Which method is an alternative method to remove the particular item from python?

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

Answer: A) pop()

Explanation:

The pop() can be also used to delete a particular element.

Comments and Discussions!

Load comments ↻






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