append list to end of list python code example Example: append to list python list = ["a"] list.append("b") print(list) ["a","b"]