[Paul Rubin] > 1. "Flush" means 5 cards of the same suit (i.e. all hearts), not 5 of > a kind.
More importantly, the (5) should be (5,). Also the poker terminology should be expressed in terms of dice rolls (the OP's use case). > 2. That code doesn't detect flushes or straights. It also doesn't cook hamburgers, drink beer, play chess, or anything else unrelated to the OP's use case. -- http://mail.python.org/mailman/listinfo/python-list