Rank 1:’Liam’, ‘Emma’, ‘Noah’, ‘Olivia’, ‘Ava’
Rank 2:’Ethan’, ‘Sophia’, ‘Isabella’, ‘Jackson’, ‘Mia’
Rank 3:’Aiden’, ‘Amelia’, ‘Lucas’, ‘Harper’, ‘Mason’
Rank 4:’Ella’, ‘Logan’, ‘Grace’, ‘James’, ‘Lily’
Rank 5:’Benjamin’, ‘Chloe’, ‘Jacob’, ‘Scarlett’, ‘Michael’
One example of set of teams would be:
Team 1: ‘Liam’,’Ethan’,’Aiden’,’Ella’,’Benjamin’
Team 2: ‘Emma’,’Sophia’,’Amelia’,’Logan’,’Chloe’
Team 3: ‘Noah’,’Isabella’,’Lucas’,’Grace’,’Jacob’
Team 4: ‘Olivia’,’Jackson’,’Harper’,’James’,’Scarlett’
Team 5: ‘Ava’,’Mia’,’Mason’,’Lily’,’Michael’
How can I generate every possibile sets of teams?
I tried using Python, but can only get one set of teams, but not EVERY possible sets.
Daniel Rodrigues is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.