πŸ“Š Python
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

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