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)
|
print(SYMBOL_COLORS[column[row]] + column[row] + Fore.RESET)
|
||||||
#THis function takes the deposit or inoput of dollar amount from user.
|
#THis function takes the deposit or inoput of dollar amount from user.
|
||||||
def deposit() -> int:
|
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
|
amount = 0
|
||||||
while amount == 0:
|
while amount == 0:
|
||||||
response = input("What would you like to depsoit? $")
|
response = input("What would you like to depsoit? $")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user