Answered You can hire a professional tutor to get the answer.

QUESTION

There are 3 Women: Ally, Elly and Cathy and 2 men: Bruce and Donald. A group is to be made with two women and one man. I need a function in python...

There are 3 Women: Ally, Elly and Cathy and 2 men: Bruce and Donald. A group is to be made with two women and one man. I need a function in python that will print out all the possible groups. You can use the first initials as names and you will have to pass the gender of each person to the function. This is a (recursion/combinations/backtracking) question. Thanks! helper functions are optional

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question