How do I properly write scipy.stats.binom.cdf() details I need to calculate the probability of my random variable being $\le 0$. It's a binomial distribution, $10000$ trials, probability of success is $\frac{10}{19}$ (roughly $0.53$).

How do I properly use the scipy.stats.binom.cdf() to do that?

I've tried the following:

stats.binom(10000, a).cdf(0)


But it gives me an answer $0$.

I feel like I might be missing something about the formula itself.
&gt;&gt;&gt; from scipy.stats import binom
&gt;&gt;&gt; binom.cdf(0, 10000,10/19)
0.0


Binomial random variable are nonnegative. Hence you want to compute the probability that it is equal to zero which is 

$$\left(\frac{10}{19} \right)^{10000}\approx 10^{-2787.54}\approx 0$$