Number guessing game types 0 after each try

Whenever I type incorrect number, it writes 0 after each previous guess. How can I change this?

Hi there @alexmelanashvili, and welcome to our community.

So you are saying that with your code, when you are playing the game, the line that starts with “Previous guesses:” has “0” written for each guess, rather than the number that it should be?

I’ve tried your code in my version of the app, and it seems to work perfectly. Did you update your code listing since you sent this message?

hello @chrisdavidmills. Here is the image showing the problem. And plus, there is one more problem, numbers are somehow higher than 100. As you see, I have typed 150 and still number is too low.numberguessinggame