From fa40711cc765a3d9ac48b41755f9fb997eaffb4b Mon Sep 17 00:00:00 2001 From: Ploruto <64019503+Ploruto@users.noreply.github.com> Date: Sun, 26 Jul 2026 12:22:03 +0200 Subject: [PATCH] Fix probability calculation for prime or odd quiz solution There was a mistake in the solutions of the probability course quiz Signed-off-by: Ploruto <64019503+Ploruto@users.noreply.github.com> --- probability/03_probability_of_or.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/probability/03_probability_of_or.py b/probability/03_probability_of_or.py index b49ee4a..02ac817 100644 --- a/probability/03_probability_of_or.py +++ b/probability/03_probability_of_or.py @@ -304,9 +304,9 @@ def _(mo):
- 3. P(prime or odd) = 5/6 + 3. P(prime or odd) = 4/6 - ✅ Correct! {2,3,5} ∪ {1,3,5} = {1,2,3,5}, so probability is 5/6. + ✅ Correct! {2,3,5} ∪ {1,3,5} = {1,2,3,5}, so probability is 4/6.
""") return