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

Author: Josiah Batson

Date: 7/31/17

This module uses random number generators to simulate dice rolls. The user can provide two different sided die and the number of times the dice are rolled and then a bar graph with the results and most common result are displayed to the user. 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 | Accessibility Accessibility information icon