1#append to list
2lst = [1, 2, 3]
3something = 4
4lst.append(something)
5#lst is now [1, 2, 3, 4]
1MyList = ["apple", "banana", "orange"]
2
3MyList.append("raspberry")
4# MyList is now [apple, banana, orange, raspberry]
1list_of_names=["Bill", "John", "Susan", "Bob", "Emma","Katherine"]
2new_name="James"
3list_of_names.append(new_name)
4# The list is now ["Bill", "John", "Susan", "Bob", "Emma","Katherine", "James"]