Putting #'s and variables together in 1 variable

Grant Edwards grante at visi.com
Thu Aug 23 22:25:18 CEST 2007


On 2007-08-23, Jay Loden <python at jayloden.com> wrote:

> 2) Since all you're doing is adding a bunch of numeric values to each other
>    to build the string, why wouldn't you just create a random number between
>    0 -> 99999 and use that?

Since the OP calls randint 5 times, his answer is 5 times more
random!

-- 
Grant Edwards                   grante             Yow! Everybody gets free
                                  at               BORSCHT!
                               visi.com            



More information about the Python-list mailing list