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

  • (A) pop()
  • (B) remove()
  • (C) discard()
  • (D) del
πŸ’¬ Discuss
βœ… Correct Answer: (B) remove()
Explanation: remove deletes the first matching value in a list.
Explanation by: Mr. Dubey
remove deletes the first matching value in a list.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
75
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate