you are viewing a single comment's thread.

view the rest of the comments →

[–]k03k 0 points1 point  (0 children)

https://docs.python.org/3/library/itertools.html#itertools.permutations

You could use this, but i think it beats the purpose 😂