Question: python programming guessing game Assuming the computer's number is 7 Welcome to the Guessing Game The Computer has picked a number from 1 - 10.
python programming
guessing game Assuming the computer's number is 7
Welcome to the Guessing Game The Computer has picked a number from 1 - 10. Try to match it. What number do you choose (1-10): 4 You picked 4, and actual number was 7. Youngling, your time will come.
The last messages are as follows:
- Exact match: 0
- Off by 1: 1
- Off by 2: 2
- Off by 3: 3
- Off by 3+: 3+
Code Requirements
- You may have only one print statement after the user makes their pick
- You may assume the user will give proper input
- You may not use nested if-statements or multiple single if-statements.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
