Re: combinations of 4

From: Rui Miguel Silva Seabra (rms@greymalkin.yi.org)
Date: Sun Apr 07 2002 - 15:17:15 EDT


you mean, something obvious as this?

#!/usr/bin/perl -w

@lst=A..Z;

for $fst (@lst) { for $sec (@lst) { for $thi (@lst) { for $fou (@lst) {
    print "$fst$sec$thi$fou\n"; # put \r\n if on windows
    sleep 1 # comment this line for fastness
}}}}

hugs, rui

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Ghandi
+ So let's do it...?




This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:28:03 EDT