Python Multiple
Choice
Questions
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.pop()?
A. [3, 4, 5, 20, 5, 25, 1].
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].
Correct Answer: A
Explanation: pop() by default will remove the last element.