Hello everyone I need help with Black Jack exercise 6
Exercism.org/tracks/python/exercises/black-jack/edit
Task 3 Calculate the value of an ace
def value_of_ace(card_one, card_two):
"""Calculate the most advantageous value for the ace card.
:param card_one, card_two: str - card dealt. See below for values.
: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)
3. '2' - '10' = numerical value. """
total_of_hand = value_of _card( card_one) + value_of_card(card_two)```
```python
return 1 if total_of_hand + 11 > 21 or 'A' in [card_one, card_two] else 11```