Oct-04-2023, 02:29 PM
I don't think that is more accurate at all. b.copy(), b[:] and b[0:] all create new lists that are populated with the all the elements from b, so they are all "copies", but the lists returned by b[:] and b[0::] are created through slicing. New python programmers need to learn about list slicing.