1.

What is the output of the following? for i in [1, 2, 3, 4][::-1]: print (i)

A. 1 2 3 4
B. 4 3 2 1
C. 4 3 2 1
D. none of the mentioned
Answer» C. 4 3 2 1


Discussion

No Comment Found