Make a geometric distribution using Python
Published in
2 min readNov 28, 2022
The geometric distribution is the number of trials needed to get the first success in repeated Bernoulli trials. Repeated Bernoilli trials mean that all trials are independent of each other and each result has two possible outcomes, being either success or failure.
The formula for the geometric distribution is defined below:-