mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-04 09:07:41 -08:00
Acey Ducey: Fix bankroll issue
This commit is contained in:
@@ -58,7 +58,7 @@ def get_card_name(number: int) -> str:
|
|||||||
|
|
||||||
def display_bankroll(bank_roll: int) -> None:
|
def display_bankroll(bank_roll: int) -> None:
|
||||||
"""Print current bankroll"""
|
"""Print current bankroll"""
|
||||||
if BANK_ROLL > 0:
|
if bank_roll > 0:
|
||||||
print("You now have %s dollars\n" % bank_roll)
|
print("You now have %s dollars\n" % bank_roll)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user