Estimate the probability in a dice game.
Make a program for estimating the probability of getting at least one 6 when throwing n dice. Read n and the number of experiments from the command line. (To verify the program, you can compare the estimated probability with the exact result 11/36 when n = 2.) Name of program file: one6_ndice.py.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here