From bea99e5e1e344d17fb2cb29d8bcbc6b108e24cee Mon Sep 17 00:00:00 2001 From: Lukas Baumann Date: Mon, 22 Feb 2021 11:39:56 +0100 Subject: [PATCH] Update 4 - Be Choosy.py --- 15/b/4 - Be Choosy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/15/b/4 - Be Choosy.py b/15/b/4 - Be Choosy.py index da0382c..22bfec0 100644 --- a/15/b/4 - Be Choosy.py +++ b/15/b/4 - Be Choosy.py @@ -1,7 +1,7 @@ def choose(n, k): res = n/k while k > 1: - n-= 1 + n -= 1 k -= 1 res *= n/k return res