Q. What will be the output of the following code?
Code:
arr = [1,2,3,4,5,6] print(a[::2])
β
Correct Answer: (A)
[1,3,5]
arr = [1,2,3,4,5,6] print(a[::2])
You must be Logged in to update hint/solution