Explanation:Execute in the shell to verify. 3. Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.pop(1) ?
A. [3, 4, 5, 20, 5, 25, 1, 3]
B. [1, 3, 3, 4, 5, 5, 20, 25]
C. [3, 5, 20, 5, 25, 1, 3]
D. [1, 3, 4, 5, 20, 5, 25]
Answer:A
Explanation:Execute in the shell to verify. 3. Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.pop(1) ?
A. [3, 4, 5, 20, 5, 25, 1, 3] B. [1, 3, 3, 4, 5, 5, 20, 25] C. [3, 5, 20, 5, 25, 1, 3] D. [1, 3, 4, 5, 20, 5, 25]
Explanation:pop() removes the element at the position specified in the parameter. 4. Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.pop()?