from scipy.stats import binom
import numpy as np
binom.pmf(k=5, n=40, p=0.25)

binom.cdf(k=10,n=40,p=0.25)

binom.sf(k=19,n=40,p=0.25)

binom.stats(n=40,p=0.25)


# Question 2 # BINOMIAL DISTRUBUTION 
binom.pmf(k=5,n=20,p=0.15)


binom.sf(k=12,n=20,p=0.15)

binom.cdf(k=10,n=20,p=0.15) 

#Question 

binom.pmf(k=0,n=20,p=0.35)
binom.pmf(k=10,n=20,p=0.35) 

binom.cdf(k=10,n=20,p=0.35)
 
binom.sf(k=13,n=20,p=0.35)


