fixed typeerror
This commit is contained in:
		
							parent
							
								
									2c16341658
								
							
						
					
					
						commit
						6ff5a6fb23
					
				| 
						 | 
					@ -100,7 +100,7 @@ def get_bet() -> int:
 | 
				
			||||||
            print("  Error: Please enter a number")
 | 
					            print("  Error: Please enter a number")
 | 
				
			||||||
    return bet
 | 
					    return bet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def roll():
 | 
					def roll(balance) -> int:
 | 
				
			||||||
    balance = deposit()
 | 
					    balance = deposit()
 | 
				
			||||||
    lines = get_number_of_lines()
 | 
					    lines = get_number_of_lines()
 | 
				
			||||||
    bet = -1
 | 
					    bet = -1
 | 
				
			||||||
| 
						 | 
					@ -136,7 +136,7 @@ def main() -> int:
 | 
				
			||||||
            break
 | 
					            break
 | 
				
			||||||
        balance += roll(balance)
 | 
					        balance += roll(balance)
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    print(f"YOu left with ${balance}")
 | 
					    print(f"You left with ${balance}")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
main()
 | 
					main()
 | 
				
			||||||
print()
 | 
					print()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user