Q. Which method is used to add an element at the end of a list?

  • (A) add()
  • (B) append()
  • (C) insert()
  • (D) push()
πŸ’¬ Discuss
βœ… Correct Answer: (B) append()
Explanation: `append()` adds an item to the end of a list in Python.
Explanation by: Mr. Dubey
`append()` adds an item to the end of a list in Python.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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