Guess always gives wrong value in daily tests

I’ve looked at my code several times, but I’ve failed all my daily tests for guess. Isn’t this how guess is supposed to work?
Screenshot 2022-05-29 at 09.36.15