Python Multiple
Choice
Questions
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after list1.reverse() ?
A. [3, 4, 5, 20, 5, 25, 1, 3].
B. [1, 3, 3, 4, 5, 5, 20, 25].
C. [25, 20, 5, 5, 4, 3, 3, 1].
D. [3, 1, 25, 5, 20, 5, 4, 3].
Correct Answer: D
Explanation: Execute in the shell to verify.