import numpy as np import matplotlib.pyplot as plt p, N = 0.3, 10 n = [np.sum(np.random.rand(N)