Q27Multiple correct3 Marks11 Dec 2022Which of the following options swaps the first and the last value of a list L with more than 2 elements.A``` temp = L[0] L[0] = L[len(L)] L[len(L)] = temp ```B``` temp = L[0] L[0] = L[len(L) - 1] L[len(L) - 1] = temp ```C``` temp = L[0] L[0] = L[-1] L[-1] = temp ```DL[0], L[len(L) - 1] = L[len(L) - 1], L[0]