what is list slice? how it is useful explain with example.
Answers
Answered by
4
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.
Explanation:
mark me as brainiest
follow me
Similar questions