Q.

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

A. list1.remove(“hello”)
B. list1.remove(hello)
C. list1.removeall(“hello”)
D. list1.removeone(“hello”)
Answer» A. list1.remove(“hello”)
Explanation: execute in the shell to verify.
3.8k
0
Do you find this helpful?
20

Discussion

No comments yet