Take a coin with the probability of getting a Head on tossing it being \(p\). We will model the result as a Bernoulli random variable \(X\).
We have set the probability of a Head: P(H) = 0.
This means the probability of a Tail is P(T) = 0.
Mapping: Head to X=1 and Tail to X=0.