Computer Science

Does the slice operator always produce a new list?

Python List Manipulation

42 Likes

Answer

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

Answered By

24 Likes


Related Questions