2009/1/8 Kent Johnson <ken...@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
www.theJNP.com
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to