Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you want permutations, then you can use Permutations generator:

t = ['a','b','c','d']
for p in Permutations(t):
    print(p)