fixed typeerror

This commit is contained in:
Stephen Deaton 2024-06-27 17:15:27 -04:00
parent 2c16341658
commit 6ff5a6fb23

View File

@ -100,7 +100,7 @@ def get_bet() -> int:
print(" Error: Please enter a number")
return bet
def roll():
def roll(balance) -> int:
balance = deposit()
lines = get_number_of_lines()
bet = -1
@ -136,7 +136,7 @@ def main() -> int:
break
balance += roll(balance)
print(f"YOu left with ${balance}")
print(f"You left with ${balance}")
main()
print()