<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
guess = int(raw_input("Your guess: ")) before the while loop is considered fair by the correction
<What do you expect to happen instead?>
By putting this previous statement before the loop : if with answer well at first try its ok but if we answer bad it end the prog without displaying : “you lose”
Of course all happends well when we put the statement at the first statement of the wile
from random import randint # Generates a number from 1 through 10 inclusive random_number = randint(1, 10) print random_number guesses_left = 3 # Start your game! guess = int(raw_input("Your guess: ")) #the wrong place but the correction said me it's right ... while guesses_left >=0: #guess = int(raw_input("Your guess: ")) # the good place if guess == random_number: print "You win!" break guesses_left -=1 else: "You lose."