Unsorting(randomizing) a sequence

Skip Montanaro skip at mojam.com
Wed Aug 18 16:21:05 CEST 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