Skip to Main Content

Apply Now to the University of Wyoming apply now

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

1000 E. University Ave. Laramie, WY 82071
UW Operators (307) 766-1121 | Contact Us | Download Adobe Reader

Accreditation | Virtual Tour | Emergency Preparedness | Employment at UW | Privacy Policy | Harassment & Discrimination | Accessibility Accessibility information icon