Enter the secret number when prompted.
Simple error. In the code checking if the secret number was greater than the guess it checked if it was < the guess. I just had to change the code block to if secret number > guess. I suppose I could have just reversed the conditions to 'if guess is < secret#' and that would have had the same effect.