import random
gameover = False
while gameover == False:
    dice1 = random.randint(1,6) 
    dice2 = random.randint(1,6) 
    roll= dice1 + dice2
    print(roll)
    # wins: 3 and 8
    # lose: 6 and 10
    if roll == 3 or roll == 8:
        print("Κέρδισες!")
        gameover=True
    elif roll==6 or roll==10 :
        print ("Έχασες!")
        gameover=True
    else:
        print("παίξε ξανά")
