if ways is used do we use combinations or permutations code example
Example: combinations and permutations in python
from itertools import permutations
from itertools import combinations
from itertools import permutations
from itertools import combinations