partie2_ex57_1.py

Created by cahier-indice-algo-1techno

Created on April 22, 2022

159 Bytes


from random import uniform

def gaucher():
    tirage = uniform(0, 1)
    if tirage < 0.15:
        return 1
    else:  
        return 0