1.

2. What is the output produced by the following code snippet ?alst=[1,2,3,4,5,6,7,8,9)print(alst[::3])​

Answer»

Answer:

[1,4,7]

Explanation:

Here starting POINT and ending point are not given.

increment value is 3.

1     2      3      4      5      6     7      8     9

^                     ^                      ^



Discussion

No Comment Found