User can always win?


I don’t understand why we print out the maximum possible guess to the user. Since the user can’t guess a number higher than max_guess, all they need to do is enter max_guess as their guess and they will win every time.

I know the course hasn’t gotten to while loops yet, but it seems like it would make more sense to give the user a limited number of chances to guess.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.