def Coin(name, p=S.Half):
    return rv(name, BernoulliDistribution, p, 'H', 'T')
Simple dict lookup using two variables
dataset/ETHPy150Open sympy/sympy/sympy/stats/frv_types.py/Coin--crossover with--dataset/ETHPy150Open nyaruka/smartmin/smartmin/templatetags/smartmin.py/get