I'm trying to get the user to specify two variables, then change the last one to the first one.
print('Whats your move?')
move = raw_input('>>> ')
move = move.split()
move[1] = move[0]
move[0] = ' '
Sort of like that code, but instead of just changing the list, I want to actualy change the variables.
So if someone did inputed f7 f6 it would change the variable f6 to the same value at f7, and then turn f7 to whitespace.
Is there a way to do this in python 2.7?
