import random
players = ["abc", "dfg", "igh", "klm", "nip", "qrs"]
#def selction():
random_selection = random.choice(players)
print(random_selection)
for i in players:
if str(players[i]):
players.remove(i)
else:
print(i)
I am trying to build a quick program to help select players from a list to create a order for a lineup. Once a player is selected, it should be removed from the list so the output is the not the same player over again.