I'v set player to "x", and defined a function than reverses the player (you will see it in the code). Can someone please help me?
player = "x"
def update_player(player):
if player == "x":
player = "y"
else:
player = "x"
return player
update_player(player) #called the function with argument player
print(player)