Coding Probability Simulators with Python #CSforAll

Coding Probability Simulators with Python #CSforAll
Tweet about this on TwitterShare on FacebookPin on PinterestShare on LinkedInShare on Google+Share on TumblrEmail this to someoneShare on StumbleUponShare on RedditDigg this


In this post I’d like to share three resources to hep you code probability simulators in python. To get started, you ill need a an online python console or you can download it here:

Screen Shot 2016-02-17 at 6.32.10 AM

Once it has been installed, launch the console window and begin typing away. You can copy the syntax as shown below to create and customize your own games of chance.

1. Rolling Dice

Rolling Dice.001

2. Guessing Game – Choose a Number

Guessing Game.001

3. Rock, Paper, Scissors

Screen Shot 2016-02-13 at 5.14.07 PM


(Visited 590 times, 1 visits today)

One Response for this post

Leave a Reply

Email *