I was watching a video where all of a sudden the instructor uses the given code to swap two elements of a list L:
L[suffix], L[i] = L[i], L[suffix]
What is the procedure undertaken inside for this method of swap? Is a new list formed? Or a tuple? Or a dictionary? Or something else???