lists list slices the slice operator also works on listst [' '' '' '' '' '' ' [ : [' '' ' [: [' '' '' '' ' [ :[' '' '' 'if you omit the first indexthe slice starts at the beginning if you omit the secondthe slice goes to the end so if you omit boththe slice is copy of the whole list [:[' '' '' '' '' '' 'since lists are mutableit is often useful to make copy before performing operations that foldspindleor mutilate lists slice operator on the left side of an assignment can update multiple elementst [' '' '' '' '' '' ' [ : [' '' 'print( [' '' '' '' '' '' ' list methods python provides methods that operate on lists for exampleappend adds new element to the end of listt [' '' '' ' append(' 'print( [' '' '' '' 'extend takes list as an argument and appends all of the elementst [' '' '' ' [' '' ' extend( print( [' '' '' '' '' 'this example leaves unmodified sort arranges the elements of the list from low to high