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