How to get the correct answers from a permutation / combination problem?
How to get the correct answers from a permutation / combination problem? Question: Given the following input, I would like to implement a function, that calculates the amount of possible correct answers, without calculating each answer for computational reasons. I hope the function to look something like this: from itertools import combinations_with_replacement from itertools import …