def Coin(name, p=S.Half):
 return rv(name, BernoulliDistribution, p, 'H', 'T')

def Coin ( name , p = S . Half ) : return rv ( name , BernoulliDistribution , p , 'H' , 'T' )
create a finite random variable representing a coin toss .