On 11/27/2011 7:43 PM, Guess?!? wrote:
Two players take turns flipping a fair coin. The game ends when the
same outcome occurs on three flips in a row. Whichever player flipped
the coin last, wins. For example:
Here's my version of a simple compact program.
import random
N = 10
tosses = '
On 11/27/2011 07:43 PM, Guess?!? wrote:
Hello All,
I am learning python and hence was writing code for school assignments I
could find online. I wrote my solution for this problem below. Please find
it attached.
I would like someone to review and give me comments on it. Basically
improvements/
Hello All,
I am learning python and hence was writing code for school assignments I
could find online. I wrote my solution for this problem below. Please find
it attached.
I would like someone to review and give me comments on it. Basically
improvements/ comments to make it more efficient
proble