Q17
In Python, how can you remove all occurrences of a specific element from a list or tuple?
A.
Use a loop and remove() method
AnswerB.
delete_all()
C.
clear()
D.
discard_all()
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board