Bernoulli Random Variable In Python Mblock 5