Question: Task 3 : Possible Study Groups ( 4 marks ) Write a function possible _ study _ groups ( zbinis ) . The parameter zbinis
Task : Possible Study Groups marks
Write a function possiblestudygroupszbinis The parameter zbinis is a list of Zoomerbinis of the same form as in Task
The function should return a list representing all the possible ways a valid study group could be chosen from zbinis. Each element is a tuple where:
The first element is a tuple of indices representing a group. This tuple should contain exactly three or four unique indices into the zbinis list in ascending order.
The second element is a score for the group, derived using a "points" system described below
For example, if zbinis was of length four, there could be up to five tuples of indices in the result with the first element in each being: and
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
