1
Write a function which takes a set of integers and prints every permutation of the set, and the swap performed in between each step
Input
a set of numbers, for example (0, 1, 2)
Output
the list of permutations and swaps in the format
(set)
(swap)
(set)
...
Test case
Input:
(0, 1, 2)
Outpu...