To append a list, the variable must be a list type. Once the variable is a list, you can then append it using the append() function. Like this:

x = []
x.append("hello")
print(x)

>>["hello"]

You can pretty much append most types.