[Tutor] Flip the coin 10x and count heads and tails: It works now!

Robert Sjoblom robert.sjoblom at gmail.com
Sat May 25 14:50:28 CEST 2013


On 25 May 2013 14:42, Ken G. <beachkidken at gmail.com> wrote:
> May I suggest that instead of:
> how about:
>
> flips = heads = tails = 0
>
> Ken

How about flips = heads = 0
tails can then be calculated from flips - heads.
--
best regards,
Robert S.


More information about the Tutor mailing list