Richard Lovely wrote:
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

  
I just looked itertools up using google; and I are truly impressed.
Thank you very much,

Robert
---
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