From 8da2fe24af0293f18c0cff41e7b7fbd952dc32ab Mon Sep 17 00:00:00 2001 From: roxanacrisan Date: Mon, 2 Feb 2026 21:10:07 +0200 Subject: [PATCH] Update black_jack.py For function value_of_ace, the accurate instruction for A in hand is to return 1. Otherwise the tests fail. The instructions actually say 1, but the doc string says different. --- exercises/concept/black-jack/black_jack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/black-jack/black_jack.py b/exercises/concept/black-jack/black_jack.py index 9ce6ca5ba4d..8c3eab18a59 100644 --- a/exercises/concept/black-jack/black_jack.py +++ b/exercises/concept/black-jack/black_jack.py @@ -40,7 +40,7 @@ def value_of_ace(card_one, card_two): :return: int - either 1 or 11 value of the upcoming ace card. 1. 'J', 'Q', or 'K' (otherwise known as "face cards") = 10 - 2. 'A' (ace card) = 11 (if already in hand) + 2. 'A' (ace card) = 1 (if already in hand) 3. '2' - '10' = numerical value. """