Computer Science, asked by abhisheksatapathy200, 3 months ago

Given the list L=[5,3,1,4,6,2,7].

Write the output of L[1:6:2]
.​

Answers

Answered by omii1999
0

Answer:

output may be: [3,4,2]

Explanation:

L[1:6:2] here 1:6 denotes starting from 1 index till 6th index....index starts from 0 always. 2 denotes after every 2 elements.

Similar questions