In every case

In the guessing game I have this code: Before that I had done the following: but it didn’t work because even if you get it right, you have tried! So I turned it to: and only then I thought that numOfTries += 1 should go on top.