From 481a5867692a0a921fa9ef27dc99a0d6d3aab13c Mon Sep 17 00:00:00 2001 From: ngschaider Date: Tue, 13 Oct 2020 15:29:14 +0200 Subject: [PATCH] Removed duplicated word in README.md (#2) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 47f6cd3..5b65312 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Next, create an `experiment` function in `prob_calculator.py` (not inside the `H The `experiment` function should return a probability. -For example, let's say that you want to determine the probability of getting at least 2 red balls and 1 green ball when you draw 5 balls from from a hat containing 6 black, 4 red, and 3 green. To do this, we perform `N` experiments, count how many times `M` we get at least 2 red balls and 1 green ball, and estimate the probability as `M/N`. Each experiment consists of starting with a hat containing the specified balls, drawing a number of balls, and checking if we got the balls we were attempting to draw. +For example, let's say that you want to determine the probability of getting at least 2 red balls and 1 green ball when you draw 5 balls from a hat containing 6 black, 4 red, and 3 green. To do this, we perform `N` experiments, count how many times `M` we get at least 2 red balls and 1 green ball, and estimate the probability as `M/N`. Each experiment consists of starting with a hat containing the specified balls, drawing a number of balls, and checking if we got the balls we were attempting to draw. Here is how you would call the `experiment` function based on the example above with 2000 experiments: