Question: Please use Python a 1. (5 points) Write a computer program to simulate a die roll, do it 600 times and determine how many of
Please use Python

a 1. (5 points) Write a computer program to simulate a die roll, do it 600 times and determine how many of each number occurred. The intent of this program is to brush up on programming skills and to program a required piece of genetic algorithms. Your task is to write a computer program to simulate the roll of a die (1 die). Your program should roll a "die (generate randomly an integer from 1 to 6). It should do this 600 times and then count how many l's, 2's, 3's, 4's, 5's, and 6's have been rolled (i.e, generate a histogram). The histogram should be written to the screen (displayed in text form) or plotted. You may write your code in any programming language you choose though Matlab or Python are the strong suggestions. The completed code does not need to be submitted via Canvas. Turn in a hardcopy of the code in class and the results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
