Unsorting(randomizing) a sequence

Skip Montanaro skip at mojam.com
Wed Aug 18 10:21:05 EDT 1999


    Stephan> Furthermore, Skip used he module whrandom, whereas I used
    Stephan> random.  Any ideas in which respect these modules differ?

Well, if you look at random.randrange, you'll find it exceedingly similar to 
whrandom.randrange:

    >>> import whrandom, random
    >>> random.randrange
    <method whrandom.randrange of whrandom instance at 814a370>
    >>> whrandom.randrange
    <method whrandom.randrange of whrandom instance at 814a370>

!

Skip




More information about the Python-list mailing list