(card_one, card_two)
return 9 <= hand_value <= 11
:param card_one: str - first card in hand.
    :param card_two: str - second card in hand.
    :return: bool - if the hand can be doubled down (i.e. totals 9, 10 or 11 points).
def can_double_down(card_one, card_two):
    """

    :param card_one: str - first card in hand.
    :param card_two: str - second card in hand.
    :return: bool - if the hand can be doubled down (i.e. totals 9, 10 or 11 points).
    """

    card_one_value = 1 if card_one == 'A' else value_of_card(card_one)
    card_two_value = 1 if card_two == 'A' else value_of_card(card_two)
    hand_value = card_one_value + card_two_value
    return 9 <= hand_value <= 11
def can_double_down ( card_one , card_two ) : card_one_value = 1 if card_one == 'A' else value_of_card ( card_one ) card_two_value = 1 if card_two == 'A' else value_of_card ( card_two ) hand_value = card_one_value + card_two_value return 9 <= hand_value <= 11