[Tutor] Deal a Random Deck - Challenge

Neil Schemenauer nas-pytut@python.ca
Fri Jul 25 17:06:02 2003


Zak Arntson wrote:
> Here's an interesting problem a coworker (former mentor) uses when hiring:
>  * Write an algorithm to deal out a set of "cards"
> 
> It's pretty straightforward in C, and here's a port of the C code in Python:

Straightforward to do poorly. :-)  I think all of the solutuions you
posted are biased.  See:

    http://groups.google.com/groups?selm=LNBBLJKPBEHFEDALKOLCKEDFGNAA.tim_one%40email.msn.com

Cheers,

  Neil