Computer Science

Does the slice operator always produce a new list?

Python List Manipulation

41 Likes

Answer

Slice operator copies only the requested elements of the original list into a new list.

Answered By

23 Likes


Related Questions