The purpose of this exercise: To practice operating on lists using a few built-in functions.
Try out some variations of the operations in the image to the right (accessing elements by index, printing the length, sorting, and removing the last element) on lists in the code editor.
__
The image on this slide is of written Python code that reads:
list_one = [5, 3, 2, 1, 4]
# print a sorted list_one
# print the third element of list_one
# print the length of list_one
# remove the last element of list_one, then print the shortened list_one
![The image on this slide is of written Python code that reads: list_one = [5, 3, 2, 1, 4] # print a sorted list_one # print the third element of list_one # print the length of list_one # remove the last element of list_one, then print the shortened list_one](//www.tfaforms.com/forms/get_image/229733/C6onAzCI9yNG97u8T28KG5W0GNqiNVCEQmCK20dcH1BFSqrSNmIyiNNNLBB6MW6S-S31-List_-Exercise.png)