"None" appears in my input box

I am unable to figure out why "None" is displayed where there should be an empty input box. After some looking, it only happens when the input is inside of the 'while' loop. I would really like to remove the "None", as it takes away from the look and feel of the program. If you know why it does this, please let me know!
Link to the program

You are viewing a single comment. View All

There's no need for the print function. Use input('Guess the random number: ')


Thank you very much, @CosmicBear!