Kizspy | Question: 38
(Choose 3 answers)
Which of the following are valid ways to iterate over a list in Python and modify its elements without introducing errors? Choose correct answers.
A. Using a for loop with range() and the list's length.
B. Using a while loop with an index counter.
C. Using a for loop directly on the list.
D. Using the enumerate() function in a for loop.
E. Using the .pop() method in a loop.