McqMate
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. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet