Computer Science, asked by 6321ayush, 4 months ago

what is slicing in python.​

Answers

Answered by Anonymous
3

Answer:

Slicing in python means taking elements from one given index to another given index. We pass slice instead of index like this: [start:end] . We can also define the step, like this: [start:end:step] . If we don't pass start its considered 0. If we don't pass end its considered length of array in that dimension.

Hope it helps you

Similar questions