Question: First function as roll _ dice that will generate random numbers from 1 to 6 Second function as play _ dice _ game: it will

First function as roll_dice that will generate random numbers from 1 to 6
Second function as play_dice_game: it will initially call the first function roll_dice, then user will input an integer from 1 to 6. If user guess is equal to roll_dice you won else try again.
So when you call second function the game will start and output the outcome!
 First function as roll_dice that will generate random numbers from 1

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!