Can you add more players to your list? You can add as many players as you like, but make sure that there is an even number of players.
You can also change the names of the first 2 players if you prefer.
Can you add code to print just one of your new players?
Can you add code to choose a player at random for team B? You’ll need to:
teamB
listplayerB
)append
the chosen player to your teamB
listremove
the chosen player from your list of players
The code you’ll need for teamB
will be very similar to the code you’ve already written for teamA
!
Can you give both of your teams a random team name?
You can create a list called teamNames
containing the names to choose from.
You can then choose (and display) a random name for each team.