I’m trying to shift the first and second characters without the input being modified, but because I’m using holder to hold the input seems to be modified, does anyone know another way of doing this which wouldn’t modify it?
shiftlist = ['a', 'b', 'c']
def switch(shiftlist):
    holder = shiftlist[0]
    shiftlist[0] = shiftlist[1]
    shiftlist[1] = holder
    return shiftlist
 
     
    