from numpy.random import binomial
from matplotlib.pyplot import plot, show
n, p, t = 100, 0.37, 300
Y = binomial(n,p,t)
X = range(1,t+1)
plot(X,Y)
show()
