From 024e5c3f595bcc3651684e5234d5d972d78acdb8 Mon Sep 17 00:00:00 2001 From: Daniel <59575049+lemoentjiez@users.noreply.github.com> Date: Wed, 9 Nov 2022 10:08:19 +0200 Subject: [PATCH] Update betting.py --- LabPSA_1/betting.py | 1 - 1 file changed, 1 deletion(-) diff --git a/LabPSA_1/betting.py b/LabPSA_1/betting.py index 8551fbd..9eaca84 100644 --- a/LabPSA_1/betting.py +++ b/LabPSA_1/betting.py @@ -7,7 +7,6 @@ for _ in range(100000): while x == 1: nr_success += 1 x = random.randint(0, 1) - if nr_success > 1: results.append(pow(2, nr_success)) print(statistics.mean(results))