I have a list of players stored and I would like to flip between them. For example first, I ask player1 for input , and once he done I will ask player2 for input and after ask player3 , and ask player 1 again. and so on so forth.
It doesn't have to be only 3 player , it can be more or less than that
code:
fn = []
player_name = input("Enter player " + str(i+1) + " name: ")
fn.append(player_name)
print("1. Attack")
print("2. Charge")
print("3. Shield")
input(fn + " what would you like to do? ")
print(str(minion.name) + " HP " + str(minion.hp))
uska = input(fn + " who would you like to attack? ")
so all the players are stored in "fn" but I can't concatenate it to the str. If I do fn[0] it only brings first name but I want it to flip between them