adding coments

This commit is contained in:
Stephen Deaton 2024-06-30 21:00:23 -04:00
parent 6940843351
commit 6a88650d9c

View File

@ -105,6 +105,10 @@ def deposit() -> int:
return amount
#This function asks the user how many rows are they betting on 1 to 3
def get_number_of_lines() -> int:
"""
This function asks for how many rows they want to bet on.
"""
lines = 0
while lines < 1 or lines > MAX_LINES:
response = input("Enter the number of lines to bet on (1-" + str(MAX_LINES) + ")? ")
@ -118,6 +122,9 @@ def get_number_of_lines() -> int:
#This function asks the user how much they want to bet on each line.
def get_bet() -> int:
"""
THis function asks the user how much they want to bet per row.
"""
bet = 0
while bet < MIN_BET or bet > MAX_BET:
amount = input("What would you like to Bet on each line? $")