From 6940843351ceb4c16851a63a191ba906852dd34a Mon Sep 17 00:00:00 2001 From: Stephen Deaton <sdeaton@jaj.com> Date: Sun, 30 Jun 2024 12:46:11 -0400 Subject: [PATCH] Trying to put in function explanitions i have done one --- PyGame/practice/textslot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PyGame/practice/textslot.py b/PyGame/practice/textslot.py index 5287562..4c9ec03 100644 --- a/PyGame/practice/textslot.py +++ b/PyGame/practice/textslot.py @@ -88,6 +88,11 @@ def print_slotmachine(columns: List): print(SYMBOL_COLORS[column[row]] + column[row] + Fore.RESET) #THis function takes the deposit or inoput of dollar amount from user. def deposit() -> int: + """ + The function that has the user deposite the money they are going to be betting on + + It is stored as a variable int called amount. + """ amount = 0 while amount == 0: response = input("What would you like to depsoit? $")