Question: Code is in python lang 1. Create a dice roller program that will allow a user to roll a 6 sided die, a die with
Code is in python lang


1. Create a dice roller program that will allow a user to roll a 6 sided die, a die with a user-defined amount of sides (ex: a 10- sided die), and a user-defined amount of dice each of a user-defined amount of sides (ex: 4 dice, each with 20 sides). 2. Define a new function called standard_dice(). When the function is called, it will return a random number from 1-6. You've already learned how to generate a random number, so feel free to refer back to your earlier work! o At the start of your program, make sure to write: import random o Use: random.randint(a,b) -- this function returns a random integer x, such that a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
