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