Post

@PythonPr [start:stop:step]
Result = x[start from index 1, stop at index 4 and take 2 steps ]
The answer you be [2,4]
English

@PythonPr [start:stop:step]
[start is 1:stop is 4:step is2]
[2,4] output
😜🤪😝
English

@PythonPr In x[1:4:2], x[1] points to 2, x[4] points to 4, and 2 indicates the gap between numbers.
Hence, output is [2, 4]
English














