This time I try to do the codes in English ... not easy because I have to translate constantly.
I always hangs on the 8 !!!
The validation is not for exo following and it said:
"Oops, thank you again. Do not forget to increment counts!"
Here is my code:
from random import randint random_number = randint(1, 10) guesses_left = 3 while guesses_left > 0: guess = int(raw_input("Your guess for 1 and 9 :")) if guess == 3: print "You win!" break; guesses_left -= 1 else: print "You lose."
In past 72hrs this code I did not find something wrong!
I try to post on the forum in French but it did give anything ...
I look for answers on the forums but I did not find anything !!!
Frankly it embêterais me have to stop there way ... and then I do not think there was a better site than this one to learn.
Thank you for your help !