from random import randint de1 = randint(8, 10) de2 = randint(0, 1) if de2 > 8: print(gagné!) else: print(perdu)