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