Question: PYTHON You are writing a number guessing program where the player must try to guess the secret number 25. This function will take a player's

PYTHON

You are writing a number guessing program where the player must try to guess the secret number 25. This function will take a player's guess and tell them if they are either right or whether they should guess higher or lower on their next turn. Write a function named "higher_lower" that takes an int as a parameter and returns "higher" if 25 is greater than the input and "lower" if 25 is less than the input, and "correct" if 25 is equal to the input.

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!