import random

nb=random.randint(0,100)
trouve=0
score=10

while trouve==0:
		N=int(input("Entrez un nombre entre 0 et 100 :"))
		if N<nb:
			print("trop petit")
			score=score-2
		if N>nb:
			print("trop grand")
			score=score-2
		if N==nb:
			print("vous avez gagné !")
			trouve=1
		if score==0:
			print ("gameover")
