Python append list method - add the item to the end of the list

The append() method in python adds a single item to the existing list. It doesn’t return a new list of items but will modify the original list by adding the item to the end of the list.

Example:

my_list = [15, 6, 7, 8, 35, 12, 14, 4, 10]
my_list.append(25)
print(my_list)
Output:
[15, 6, 7, 8, 35, 12, 14, 4, 10, 25]