how to add items in list in python

# To add items to a list, we use the '.append' method. Example:
browsers_list = ['Google', 'Brave', 'Edge']
browsers_list.append('Firefox')
print(browsers_list) # Output will be ['Google', 'Brave', 'Edge', 'Firefox']

Here is what the above code is Doing:
1. We create a list called ‘browsers_list’ and assign it the values ‘Google’, ‘Brave’, and ‘Edge’.
2. We then use the ‘.append’ method to add the value ‘Firefox’ to the end of the list.
3. We then print the list to the console.