append an element to list of list python code example Example: add item to list python list.append(item)