Update blackjack.py

This commit is contained in:
SpudGunMan
2024-09-20 19:24:07 -07:00
parent 98490e6444
commit 80b73da72c
+1 -1
View File
@@ -115,7 +115,7 @@ class jackChips:
def take_bet(bet_amount, player_money):
try:
while bet_amount > player_money or bet_amount <= 0:
if bet_amount >= player_money or bet_amount <= 0:
return f"Enter a bet amount between 1 and {player_money}"
return bet_amount