def make_bet(self, bet):
    if (bet <= self.total):
        self.bet = bet
    else:
        raise ValueError(f'The bet ({bet}) exceeds available chips ({self.total})')
def make_bet(self, bet):
    if (bet <= self.total):
        self.bet = bet
    else:
        raise ValueError(f'The bet ({bet}) exceeds available chips ({self.total})')