Q37
What will be the output of the following Python code snippet? a = [0, 1, 2, 3] for a[-1] in a: print(a[-1])
A.
0 1 2 3
B.
0 1 2 2
AnswerC.
3 3 3 3
D.
error
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board