Adds all the elements from other_list to the list the function was called on.
list1 = [1, 2, 3]
list2 = [4, 5]
list1.extend(list2)
list1 is now [1, 2, 3, 4, 5]
list2 is still [4, 5]