Question: Write a program that asks a user to roll a single die twice to get a sum value of 7. If the sum is 11,
Write a program that asks a user to roll a single die twice to get a sum value of 7. If the sum is 11, the user loses. If the sum is neither 7 nor 11, the user neither wins nor loses, meaning that there is no decision. The computations have to be made inside a function named roll_die_twice. The input arguments are the numbers that show up in each die when it is rolled.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
