Dice Roll Bar Graph

 

Last Updated: 8/7/18

Teaching Standard:

This module uses random number generators to simulate dice rolls. The user can provide any number of different sided dice and the number of times the dice are rolled. The program will then produce a bar graph with the results and display the most commonly occurring result. Advanced array usage and bar graph plotting in python are incorporated into this module.

The presentation material and the code can be downloaded at Dice Roll Bar Graph.

Contact Us

Find us on Instagram (Link opens a new window)Find us on Facebook (Link opens a new window)Find us on Twitter (Link opens a new window)Find us on LinkedIn (Link opens a new window)Find us on YouTube (Link opens a new window)