Question: Create a Python source file that asks for a list of the names of pickleball players and pairs them up randomly into teams that play
Create a Python source file that asks for a list of the names of pickleball players and pairs them up randomly into teams that play each other. You will need to import the random module to generate a shuffled list of players see ShuffleList.py for an example Each game has two teams of two players each on a pickleball court, so you will need four players to generate each game. Any extra players above a multiple of four will be displayed as sitting out of the games. The list of players entered must be a string that you will need to split use the split function and each name is to be stored into a Python list. Using a while loop, your program will allow the end user to create new teams from the existing player list and will print Goodbye when finished.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
