Can you order this code so it'll swap the first element of list with the last?

Fantastic! We determine the index of the last element and store the element in lElem. Then we put the element at index 0 in the last spot and lElem in the pole position.

Close! We determine the index of the last element and store the element in lElem. Then we put the element at index 0 in the last spot and lElem in the pole position.