Question
Hi can you help write a python code for this: Use the random modules to roll two die. Print out the outcome of the roll,
Hi can you help write a python code for this:
Use the random modules to roll two die. Print out the outcome of the roll, expressing the individual values and the total. Then use the if->elif->else conditional statements to print the appropriate term for that roll. Refer to the Table 1. Extend this program to include a while loop that continues to roll the dice, expressing the appropriate term, until the user decides to quit.
POINT TERMS:
2 = Snake Eyes
3 = Ace Caught a Deuce
2,2 Little Joe from Kokomo
5 Little Phoebe
3,3 Jimmy Hicks from the Sticks
6,1 Six Ace
4,4 Eighter from Decatur
9 Nina from Pasadena
5,5 Puppy Paws
6,5 Six Five no Jive
12 Boxcars
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started