fixed typeerror
This commit is contained in:
parent
2c16341658
commit
6ff5a6fb23
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user