1#append to list
2lst = [1, 2, 3]
3something = 4
4lst.append(something)
5#lst is now [1, 2, 3, 4]
1#makes an empty list
2List = []
3
4#appends "exaple" to that list
5List.append(example)
6
7#removes "example" from that list
8List.remove(example)
1stuff = ["apple", "banana"]
2stuff.append("carrot")
3# Print to see if it worked
4print(stuff)
5# You can do it with a variable too
6whatever = "pineapple"
7stuff.append(whatever)
8# Print it again
9print(stuff)