Computer Science, asked by fatmashakeel5, 5 months ago

8. What are list slices ? What for can you use them ?​

Answers

Answered by Anonymous
21

\huge{\tt{\pink{Answer}}}

List slicing refers to accessing a specific portion or a subset of the list for some operation while the orginal list remains unaffected. ... The stop represents the last index up to which the list slicing will go on. Its default value is (length(list)-1) or the index of last element in the list.

Answered by anua80842
8

Explanation:

List slicing refers to accessing a specific portion or a subset of the list for some operation while the orginal list remains unaffected. ... The stop represents the last index up to which the list slicing will go on. Its default value is (length(list)-1) or the index of last element in the list.

Similar questions