from itertools import permutations perm=permutations([\'A\',\'B\',\'C\',\'C\',\'D\',\'D\',\'D\',\'D\'],4) for i in perm: print (i)
how could I pri