(continued from previous page squares[- :[ slicing returns new list all slice operations return new list containing the requested elements this means that the following slice returns new (shallowcopy of the listsquares[:[ lists also support operations like concatenationsquares [ [ unlike stringswhich are immutablelists are mutable typei it is possible to change their contentcubes [ something' wrong here * the cube of is not cubes[ replace the wrong value cubes [ you can also add new items at the end of the listby using the append(method (we will see more about methods later)cubes append( add the cube of cubes append( * and the cube of cubes [ assignment to slices is also possibleand this can even change the size of the list or clear it entirelyletters [' '' '' '' '' '' '' 'letters [' '' '' '' '' '' '' 'replace some values letters[ : [' '' '' 'letters [' '' '' '' '' '' '' 'now remove them letters[ : [letters [' '' '' '' 'clear the list by replacing all the elements with an empty list letters[:[letters [the built-in function len(also applies to listsletters [' '' '' '' 'len(letters it is possible to nest lists (create lists containing other lists)for example using python as calculator