As far as I understand you want that the input variable to be a number called guess. For your usage of the input function that should be simply
But why don't you simplify it into
guess = input('Please enter a number between 1 and 100: ');
The function inPut seems superfluous.