partie2_ex56_1.py

Created by cahier-indice-algo-1techno

Created on April 22, 2022

195 Bytes


from random import randint

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