>>86968831"number = input ("> ") takes in a string, not an integer. So when you compare it using "==", it is checking if the values are the same, but they never will be the same even if you guess the correct number because "number" is a different data type than the random number you are generating. So what you need to do is cast the datatype of the input to an integer
Try this: