(continuedmethod [[ ]:[ ] appendix dlist operators and methods returns list [ ]= += *= iter(xlen(xx* * repr(xx append(eiterator int list list str none count(ex extend(iterx index( ,[ ,[ ]]int none int insert(iex pop([index]none item remove(enone reverse( sort(none none comments returns the slice of items starting at index and extending to index - in the string if is omitted then the slice begins at index if is omitted then the slice extends to the end of the list if is negative then it returns the slice starting at index len( )+ (and likewise for the slice ending at jassigns the position at index the value of in the list must already have an item at index before this assignment occurs in other wordsassigning an item to list in this way will not extend the length of the list to accommodate it this mutates the list to append the items in this mutates the list to be copies of the original returns an iterator over returns the number of items in returns new list with the items of repeated times returns new list with the items of repeated times returns string representation of this mutates the value of to add as its last element the function returns nonebut the return value is irrelevant since it mutates returns the number of occurrences of in by using =equality mutates by appending elements from the iterableiter returns the first index of an element that = between the the start indexiand the stop indexj- it raises valueerror if the value is not present in the specified sequence if is omitted then it searches to the end of the list if is omitted then it searches from the beginning of the list insert before index in xmutating remove and return the item at index if index is omitted then the item at len( )- is removed the pop method returns the item and mutates it raises indexerror if list is empty or index is out of range remove first occurrence of in xmutating it raises valueerror if the value is not present reverses all the items in xmutating sorts all the items of according to their natural ordering as determined by the item' __cmp__ methodmutating two keyword parameters are possiblekey and reverse if reverse=true is specifiedthen the result of sorting will have the list in reverse of the natural ordering if key= is specified then must be function that takes an item of and returns the value of that item that should be used as the key when sorting this copy belongs to 'acha