In swap_list_elements_at_indices use double assignment to swap in one line.