diff --git a/PyGame/practice/textslot.py b/PyGame/practice/textslot.py index 76c2857..9b26666 100644 --- a/PyGame/practice/textslot.py +++ b/PyGame/practice/textslot.py @@ -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()