Kizspy | Question: 40
(Choose 3 answers)
Which of the following methods can be used to remove the last odd number from a list in Python? Choose correct answers.
A. Iterate through the list in reverse and remove the first odd number encountered.
B. Use a list comprehension to create a new list without the last odd number.
C. Use the .pop() method after finding the index of the last odd number.
D. Use the remove() method to delete the first occurrence of an odd number.
E. Use the del statement with the index of the last odd number.