Trying to put in function explanitions i have done one

This commit is contained in:
Stephen Deaton 2024-06-30 12:46:11 -04:00
parent 4419e4dd3b
commit 6940843351

View File

@ -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? $")