I am getting this error FAILED black_jack_test.py::BlackJackTest::test_value_of_ace - AssertionError: 11 != 1 : Expected 1 as the value of an ace card when the hand has (‘Q’, ‘A’).
And I am confused but the assertion. We have a queen (Value = 10) the Ace should worth 11 and it is telling me the opposite !
Thanks for any help
Philippe
Define the value_of_ace(<card_one>, <card_two>) function with parameters card_one and card_two , which are a pair of cards already in the handbefore getting an ace card. Your function will have to decide if the upcoming ace will get a value of 1 or a value of 11, and return that value.