in Python3: How do I check for a string within a while loop that expects integers...

Here's my code currently: I want to replace sentinel value "0" with "quit" or "q" instead. How would I do that?

```
import random

highest = 10
lowest = 1
counter = 0

random_number = random.randint(lowest, highest)
# The randint function is in the random function within the random MODULE imported above.

guess = int(input(f"Guess a number between {lowest} and {highest}. Enter '0' at any time to quit: "))

while guess is not random_number:
    if guess == 0:
        print("Quitting game.")
        break
    elif guess < random_number:
        counter += 1
        guess = int(input("Guess higher: "))
    elif guess > random_number:
        counter += 1
        guess = int(input("Guess lower: "))
    if guess == random_number:
        print(f"Correct! Well done!! You got it right after {counter} guess(es)!")

```

I want to change the sentinel value "0" to "q / quit", but not sure how...