# append method adds an element at the end of the list foo = [1, 2, 3] foo.append(4) print(foo) # Output - [1, 2, 3, 4]