Vidyalelo
Python · Q104

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 104

Q104

To remove string "hello" from list1, we use which command?

A.
list1.remove("hello")
Answer
B.
list1.remove(hello)
C.
list1.removeAll("hello")
D.
list1.removeOne("hello")

Answer: Option A

Solution

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