in the last exampleempty is list containing no items at all--an empty list list of identical items can be created using the repetition operator this example creates list containing zeroeszeroes [ often lists are built up one piece at time using the append method here is fragment of code that fills list with positive numbers typed by the usernums [ input('enter number'while > nums append(xx input("enter number"in essencenums is being used as an accumulator the accumulator starts out emptyand each time through the loop new value is tacked on the append method is just one example of number of useful list-specific methods againfor reviewhere is table that briefly summarizes some things you can do to listmethod append(xsort(reverse(index(xinsert( ,xcount(xremove(xpop(imeaning add element to end of list sort (orderthe list comparison function may be passed as parameter reverse the list returns index of first occurrence of insert into list at index returns the number of occurrences of in list deletes the first occurrence of in list deletes the ith element of the list and returns its value we have seen how lists can grow by appending new items lists can also shrink when items are deleted individual items or entire slices can be removed from list using the del operator mylist [ del mylist[ mylist [ del mylist[ : mylist [