I'm building a turtle race game and I'd like to have a prompt asking for the user how many turtles he'd like to see racing.
num_turtles = 0
while 2 > num_turtles > 10:
num_turtles = int(screen.textinput(title="How many racers...", prompt="How many turtles do you want to participate? (2-10)").lower())
The problem is that the loop is never entered. I want the game to keep asking while the number entered is not between 2 and 10.