permutations no repeats python code example
Example: permutation with repetition python
from itertools import product
for roll in product([1, 2, 3, 4, 5, 6], repeat = 2):
print(roll)
from itertools import product
for roll in product([1, 2, 3, 4, 5, 6], repeat = 2):
print(roll)