(card_one, card_two)
return split_pairs
:param card_one: str - first card in hand.
    :param card_two: str - second card in hand.
    :return: bool - if the hand can be split into two pairs (i.e. cards are of the same value).
def can_split_pairs(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 split into two pairs (i.e. cards are of the same value).
    """

    if card_one == 'A' or card_two == 'A':
        split_pairs = card_one == card_two
    else:
        split_pairs = value_of_card(card_one) == value_of_card(card_two)
    return split_pairs
def can_split_pairs ( card_one , card_two ) : if card_one == 'A' or card_two == 'A' : split_pairs = card_one == card_two else : split_pairs = value_of_card ( card_one ) == value_of_card ( card_two ) return split_pairs