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