Computer Science, asked by pariharanita567, 4 months ago

explain the slicing operation

Answers

Answered by brainlystar6129
5

In computer programming, array slicing is an operation that extracts a subset of elements from an array and packages them as another array, possibly in a different dimension from the original. ... Depending on the programming language, an array slice can be made out of non-consecutive elements.

Answered by InstaPrince
32

Answer:

Here's Your Answer

Explanation:

Slicing in Python is a feature that enables accessing parts of sequences like strings, tuples, and lists. You can also use them to modify or delete the items of mutable sequences such as lists. Slices can also be applied on third-party objects like NumPy arrays, as well as Pandas series and data frames.

Similar questions