# create a list
myList = [1, 'b', 2]
# append an element at the end of the list
myList.append('d')
# result: [1, 'b', 2, 'd']