Question: Create a Python program that generates a random number between 1 and 1 0 0 and asks the user if it is even or odd.

Create a Python program that generates a random number between 1 and 100 and asks
the user if it is even or odd. If the answer is correct, congratulate the player; if not,
provide the correct answer. The game should continue until the user chooses to quit by
typing "no." Use a while loop for the game's flow. (1.5 points)

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