Vidyalelo
Python · Q57

Python Introduction and basic

Programming · Python · question 57

Q57

What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print (i)

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

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board