https://www.passeidireto.com/pergunta/122758156/using-the-binomial-distribution-in-python-what-is-the-probability-of-having-more
Recomendo esse arquivo que achei no Passei Direto