my_list = ['one','two','three'] my_list.append('four') #.append will add the string or int to the end of the list
Here is what the above code is Doing:
1. We create a list called my_list.
2. We add the string ‘four’ to the end of the list.
3. We print the list.