I am trying to create and input statement that refrences a changing variable in my code.
Playerturn = 1
prompt = ('Player %i move x: ', Playerturn);
y1 = input(prompt, 's');
I'm able to print the input statement but it prints it as
Player %i move x:
Player 1 move x:
I have a while loop that changes the value of Playerturn back and forth between 1 and 2, how do I reference the variable in one input statement so that it can work for both players?