I am working on a tournament program for class. The program is supposed to have the user input all of the team names, select 2 teams, and ask the user which team won, and the winner will move on. I want to do this all in one array by using boolean values. I want all of the values in the array to start off as false, and if they win that team name turns to true.
So far I have this
amount = int(raw_input('How many teams are playing in this tournament? ')
teams = []
i = 0
while i < amount:
teams.append(raw_input("please enter team name: ")
i = i + 1
Now, how can I make the whole list false?