Q. Which method adds an element to the end of a list?

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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