A

Admin • 832.27K Points
Coach

Q. How do you remove an element by value from a list?

  • (A) pop()
  • (B) remove()
  • (C) discard()
  • (D) del
  • Correct Answer - Option(B)
  • Views: 26
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

remove deletes the first matching value in a list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.