partie2_ex56_3.py

Created by cahier-indice-algo-1techno

Created on April 22, 2022

168 Bytes


from random import randint

def lancer_3():
    n = 1
    a = randint(1, 6)
    b = randint(1, 6)
    while a != b:
        n = n + 1
    return n