arrays pylist ( ( pylist (cfigure removing an item from list(aa copy of the item is saved(bthe array elements are shifted to the left one at timetraversing left to rightand (cthe size of the list is decremented by one new list in pythonslicing is performed on list using the colon operator and specifying the beginning element index and the number of elements included in the subset consider the following example code segmentwhich creates slice from our sample listaslice thevector[ : to slice lista new list is created with capacity large enough to store the entire subset of elements plus additional space for future insertions the elements within the specified range are then copiedelement by elementto the new list the result of creating the sample slice is illustrated in figure pylist aslice figure the result of creating list slice