Question: Task: Random number guessing game 1. Import random module 2. Ask user input to get min and max numbers for range 3. Generate a

Task: Random number guessing game 1. Import random module 2. Ask user input to get min and max numbers for

Task: Random number guessing game 1. Import random module 2. Ask user input to get min and max numbers for range 3. Generate a random number in range requested by user 4. Ask user input to guess number 5. Determine if guessed number is the same as the random number 6. Print result to user 7. Ask user input if they would like to play again 8. If yes, ask user input for min and max number in range 9. Add counter variable to keep track of number of wins and total games 10. Add the end of each round print number of games won, total number and percentage of games won formatted to 2 decimal places 11. At the end of each round ask if user would like to reset win/loss statistics 12. Move code used to get user input for min/max and getting random number to its own function 13. Move code used to determine if number is divisible by 3 and 5 to its own function 14. Move code used to print win percent and ask if user wants to reset statistics to its own function Weight: 6% of final grade

Step by Step Solution

3.41 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

the implementation of the random number guessing game in Python Below is a simple implementation bas... View full answer

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 Programming Questions!