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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!