Coding Probability Simulators with Python #CodeBreaker

Coding Probability Simulators with Python #CodeBreaker


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

For more lessons, activities and ideas, grab a copy of my book, Code Breaker, on Amazon here!

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 2,137 times, 1 visits today)

Leave a Reply

Email *