mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-05 16:32:54 +02:00
Update blackjack.py
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user