So here is my code so far. When I put in 1, 1, 1 in the console it let me pass for this section but when I actually put in something greater than 3 it did not. Why did it do that?
from random import randint random_number = randint(1, 10) guesses_left = 3 while guesses_left > 0: guess = int(raw_input("Your guess: ")) if guess > 3: print 'You win!' break guesses_left -= 1 else: print 'You Lose'