python appending to list in list code example Example: how to append list in python list1 = ["hello"] list1 = list1 + ["world"]