Cyber Class 9 Python Programming

Asked by GIANSH GUPTA KHUNDKER · BIRLA BRAINIACS

Which built-in Python method is used to add a single new element directly to the very end of an existing list?

Answer as guest — Start Free Practice Test to earn Practice PointsHow to earn pointsAsk a question+3Answer a question+1Someone answers yours+1Your Q gets upvoted+1Pioneer bonus (first 5)+51 point = ₹1 discount on purchases, ask questions & climb the leaderboard!
Show answer and explanation

Answer: B. append()

• Answer: B) append()
• Explanation: append() adds one item to the end of a list. insert() adds an item at a specific index, and extend() adds multiple elements from another iterable.

Answering after opening this box earns no Practice Points.

70%