[Tutor] Suggestions for more efficient and optimized coding technique,

Richard Lovely roadierich at googlemail.com
Thu Jan 8 18:58:33 CET 2009

2009/1/8 Kent Johnson <kent37 at tds.net>:
> This is a strange requirement. If you want to try all combinations of
> lowercase letters, the simplest way to do that is with nested loops.
> The loops will generate all combinations without repeating, so there
> is no need to save the used combinations.

or itertools.product

Richard "Roadie Rich" Lovely, part of the JNP|UK Famile

More information about the Tutor mailing list