Problem with algorithm

Jia Lu Roka100 at gmail.com
Fri Apr 13 03:16:16 EDT 2007


> for m in test:
>     for n in test:
>         for o in test:
>             for p in test:
>                 print m+n+o+p

Thanx for your anwser.
But if I consider about a combination of over 26 letter's list just
like:
"abcdefssdzxcvzxcvzcv"
"asllxcvxcbbedfgdfgdg"
.....

Need I write 26 for loops to do this?

Thanx

Jia LU




More information about the Python-list mailing list