Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2 years ago

Max Alekseyev gravatar image

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

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