Die Verwendung von Python -Permutationen Funktion auf einer Liste
from itertools import permutations
a=permutations([1,2,3,4],2)
for i in a:
print(i)
Outrageous Ostrich