Question: Write a code in python that requests that a person enters two numbers, the first represents the number of dice, the second the number of
Write a code in python that requests that a person enters two numbers, the first represents the number of dice, the second the number of sides on their dice, then using a while statement, prints out a row of random numbers. The row will contain one random number that is within the number of sides on the die, for each dice (die). Use a while statement with the range function. Be sure to import the random module.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
