Question: PYTHON CODE We have a total of 29 students in the class. The problem that I am trying to solve is to divide these 29

    PYTHON CODE

    We have a total of 29 students in the class. The problem that I am trying to solve is to divide these 29 students into random groups. My goal is to come up with 7 teams with randomly selected 3 members in each team and 2 teams with randomly selected 4 members in each, totaling to 29 students.

    Thing you would want to consider:

    - A same name cannot appear in the same team or any other team. So, unique members in a team and across all other teams.
    - The composition has to be 7 teams with 3 members each and remaining 2 teams with 4 members each.

Step by Step Solution

3.38 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Below is the python code with comments import random studsstri for i in range130 let these are names ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!