Vidyalelo
Python · Q40

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 40

Q40

To add a new element to a list we use which command?

A.
list1.add(5)
B.
list1.append(5)
Answer
C.
list1.addLast(5)
D.
list1.addEnd(5)

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board