method name use append insert pop pop sort reverse del index count remove a_list append(itema_list insert( ,itema_list pop(a_list pop(ia_list sort(a_list reverse(del a_list[ia_list index(itema_list count(itema_list remove(itemexplanation adds new item to the end of list inserts an item at the ith position in list removes and returns the last item in list removes and returns the ith item in list modifies list to be sorted modifies list to be in reverse order deletes the item in the ith position returns the index of the first occurrence of item returns the number of occurrences of item removes the first occurrence of item table methods provided by lists in python following sessionmy_list [ , , , [my_list]* print(amy_list[ ]= print(athe variable holds collection of three references to the original list called my_list note that change to one element of my_list shows up in all three occurrences in lists support number of methods that will be used to build data structures table provides summary examples of their use follow my_list [ true my_list append(falseprint(my_listmy_list insert( , print(my_listprint(my_list pop()print(my_listprint(my_list pop( )print(my_listmy_list pop( print(my_listmy_list sort(print(my_listmy_list reverse(print(my_listprint(my_list count( )print(my_list index( )my_list remove( print(my_listdel my_list[ print(my_list introduction