Question: I will give upvote! please solve it using python 3 Ji Yang's ultimate password Description Everyone knows how to play the ultimate password. Now Ji
I will give upvote! please solve it using python 3


Ji Yang's ultimate password Description Everyone knows how to play the ultimate password. Now Ji Yang wants to play a game with everyone. There is a function AsktoEzra. After calling it, it will return whether the number you guess is correct or too big or too big compared to the number in Ji Yang's heart. Small . If it is correct, it will return 0, if it is too small, it will return -1, and if it is too large, it will return 1. Please use this function to find out what the password is and output the password. The content of the function is as follows. When calling, insert the number you want to ask Ji Yang in the position of x. At the end, play a game with Assistant Ji Yang>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
