Q24. Suppose listi is [3, 4, 5, 20, 5, 25, 1,3), what is listi after list1.pop(1)? B. 4.5.20.5.25.1.3] [1.3.3.4.5.5.20.25) [3. 5. 20.5. 25.1.3] [1.3.4.5.20 5.257
Answers
Answered by
0
Answer:
This set of Python Programming Questions & Answers focuses on “Lists”.
1. 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]
View Answer
Answer: d
Explanation: Execute in the shell to verify
Similar questions