[Tutor] How to generate permutations of a given string

Alan Gauld alan.gauld at btinternet.com
Mon Nov 27 16:43:35 CET 2006


"Asrarahmed Kadri" <ajkadri at googlemail.com> wrote

> Can someone help me with a simple algorithm to generate permutations 
> of a
> given string:

Try Googling for

python string permutation.

Several approaches came up including a cookbook page entry.

Alan G. 




More information about the Tutor mailing list