Unclear point for the code in Blackjack example

Author: eatamCreated Feb 6, 2022Updated Dec 13, 2022

% If the player's sum is larger than 21, he may hold one or two aces. if player_sum > 21: assert player_sum == 22 # last card must be ace player_sum -= 10 else: usable_ace_player |= (1 == card)

Question: in the "if" part of the above code, when last card must be ace, why do you not set "usable_ace_player |= (1 == card)"?

Source: ShangtongZhang/reinforcement-learning-an-introduction