![]() ![]() # should be an "equal" probability bet (i.e. ![]() # using the predicate to determine where the bet should be placed. # Simulates the end result of playing multiple games using the Margingale strategy Print("Probability of wins: ", winning_chance) Print("Number of times lost: ", lose_count) ![]() Print("Number of times won: ", win_count) Winning_chance = win_count/ simulation_amounts Print(".Simulating game using the Martingale strategy and always betting on even numbers.")ĭid_win = simulate_end_result(roulette_numbers, minimum_bet, initial_bank, target_winning, is_even) Simulation_amounts = int(input("How many scenarios should be simulated (default is 10000)? ") or "10000") Target_winning = int(input("How much do you want to win (default is 100)? ") or "100") Initial_bank = int(input("How much do you want to gamble (default is 375)? ") or "375") Minimum_bet = int(input("What is your minimum bet (default is 25)? ") or "25") ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |