What is the probability mass function of the Bernoulli distribution?
The probability mass function of the Bernoulli distribution is given by P(X = x) = p^x * (1p)^(1x), where 'x' is the random variable taking values 0 or 1, 'p' is the probability of success, and (1p) is the probability of failure.