Trying to put in function explanitions i have done one
This commit is contained in:
parent
4419e4dd3b
commit
6940843351
|
@ -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? $")
|
||||
|
|
Loading…
Reference in New Issue
Block a user