yet another noob question

Cameron Laird claird at lairds.us
Sun Aug 13 16:52:27 EDT 2006


In article <1hk0bm6.1h1ggx2imu1mN%aleax at mac.com>,
Alex Martelli <aleax at mac.com> wrote:
>mike_wilson1333 <mwilson1333 at hotmail.com> wrote:
>
>> I would like to generate every unique combination of numbers 1-5 in a 5
>> digit number and follow each combo with a newline.  So i'm looking at
			.
			.
			.
>but these variations are all implementing the same algorithm. One
>algorithms that's definitely different enough to distinguish is to use
>recursion -- but it won't offer much advantage over this one.
>
>
>Alex

For light reading on still other enumerations and their algorithms,
see <URL: http://www.unixreview.com/documents/s=10089/ur0606j/ >.



More information about the Python-list mailing list