Question: 4 . Write pseudocode ( as described in Section 1 . 4 of the course guide ) describing the procedure of the following guessing game:

4. Write pseudocode (as described in Section 1.4 of the course guide) describing the procedure of the following guessing game:
At the beginning of the program, it chooses a random number between 1 and 100. The user will be asked to guess a number, and told whether the actual number chosen by the computer is higher or lower then their guess. When the user guesses the number, a message will tell them that they have guessed the correct number and the game should end.
Task
In a file guess.py, implement the guessing game described in question 4 of assignment 1. Use a function from the random module to generate the random number. [You're free to deviate from your pseudocode from assignment 1 as necessary to implement a correct game

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!