Create a function that takes a variable number of arguments, each one representing the number of items in a group, and returns the number of permutations (combinations) of items that you could get by taking one item from each group. code example
Example: all permutations python
import itertools
print(list(itertools.permutations([1,2,3])))