adding coments
This commit is contained in:
		
							parent
							
								
									6940843351
								
							
						
					
					
						commit
						6a88650d9c
					
				| 
						 | 
					@ -105,6 +105,10 @@ def deposit() -> int:
 | 
				
			||||||
    return amount
 | 
					    return amount
 | 
				
			||||||
#This function asks the user how many rows are they betting on 1 to 3
 | 
					#This function asks the user how many rows are they betting on 1 to 3
 | 
				
			||||||
def get_number_of_lines() -> int:
 | 
					def get_number_of_lines() -> int:
 | 
				
			||||||
 | 
					    """
 | 
				
			||||||
 | 
					    This function asks for how many rows they want to bet on.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    """
 | 
				
			||||||
    lines = 0
 | 
					    lines = 0
 | 
				
			||||||
    while lines < 1 or lines > MAX_LINES:
 | 
					    while lines < 1 or lines > MAX_LINES:
 | 
				
			||||||
            response = input("Enter the number of lines to bet on (1-" + str(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. 
 | 
					#This function asks the user how much they want to bet on each line. 
 | 
				
			||||||
def get_bet() -> int:
 | 
					def get_bet() -> int:
 | 
				
			||||||
 | 
					    """
 | 
				
			||||||
 | 
					    THis function asks the user how much they want to bet per row.
 | 
				
			||||||
 | 
					    """
 | 
				
			||||||
    bet = 0
 | 
					    bet = 0
 | 
				
			||||||
    while bet < MIN_BET or  bet > MAX_BET:
 | 
					    while bet < MIN_BET or  bet > MAX_BET:
 | 
				
			||||||
        amount = input("What would you like to Bet on each line? $")
 | 
					        amount = input("What would you like to Bet on each line? $")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user