## Fix Python – Generating permutations with repetitions

I know about itertools, but it seems it can only generate permutations without repetitions.

For example, I’d like to generate all possible dice rolls for 2 dice. So I need all permutations of size 2 of [1, 2, 3, 4, 5, 6] including repetitions: (1, 1), (1, 2), (2, 1)… etc

If possible I don’t want to implement this from scratch

….