J.Clifford Dyer wrote: >To my mind that would be the exact opposite of shuffling a deck >of cards. In your case, each time, you know exactly which stack >the card comes from, but not which card out of the stack. When >you shuffle cards, it's more like you know exactly which card is > coming next off of each stack, you just don't know which stack >it's pulling from next.
Actually, the process I described is exactly what one does when shuffling cards (without, of course, real-life "mistakes" in which the start stack is not known, the deck may not have been split perfectly in half, or whatever). You know exactly which card goes next because it's in order from the bottom of the stacks to the top, and you know exactly which stack each comes from. Of course, since I wrote that with my tongue in my cheek (that's an odd turn of phrase), it's quite possible it's not 100% clear what I was saying. It was just meant to demonstrate a silly method, one as essentially useless as a reverse() method. -Jeff This email is intended only for the individual or entity to which it is addressed. This email may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or any attachments by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you are not the intended recipient of this message or the employee or agent responsible for delivery of this email to the intended recipient, please notify the sender by replying to this message and then delete it from your system. Any use, dissemination, distribution, or reproduction of this message by unintended recipients is strictly prohibited and may be unlawful. -- http://mail.python.org/mailman/listinfo/python-list