Popular recipes tagged "flush"http://code.activestate.com/recipes/tags/flush/popular/2010-04-08T05:24:12-07:00ActiveState Code RecipesSimulate number of flushes in a poker hand (Python) 2010-04-08T05:24:12-07:00Dudley G R Gentleshttp://code.activestate.com/recipes/users/4173603/http://code.activestate.com/recipes/577184-simulate-number-of-flushes-in-a-poker-hand/ <p style="color: grey"> Python recipe 577184 by <a href="/recipes/users/4173603/">Dudley G R Gentles</a> (<a href="/recipes/tags/cards/">cards</a>, <a href="/recipes/tags/flush/">flush</a>, <a href="/recipes/tags/poker/">poker</a>, <a href="/recipes/tags/process/">process</a>, <a href="/recipes/tags/time/">time</a>). </p> <p>This program calculates the number of flushes in a number of deals of a poker hand. You can tell it to deal say 10,000 hands and see how many were flushes. This is basically my first Python program. </p>