Q. Which method removes the last item from a list?

  • (A) remove()
  • (B) pop()
  • (C) delete()
  • (D) discard()
πŸ’¬ Discuss
βœ… Correct Answer: (B) pop()
Explanation: `pop()` without arguments removes the last item from a list.
Explanation by: Mr. Dubey
`pop()` without arguments removes the last item from a list.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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