Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:44 pm
by answerhappygod
a) list1.remove(“hello”)
b) list1.remove(hello)
c) list1.removeAll(“hello”)
d) list1.removeOne(“hello”)