Skip to Main Navigation. Each navigation link will open a list of sub navigation links.

Skip to Main Content

Apply to the University of Wyoming apply now

Global Resource Navigation

Visit Campus
Download UW Viewbook
Give to UW

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.


Share This Page:

Contact Us

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

Twitter Icon Youtube Icon Instagram Icon Facebook Icon

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