Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // calculate expected value per guess (3 rounds)
- for i in r1chance:
- for j in r2chance:
- for k in r2chance:
- guess = i + ' ' + j + ' ' + k
- total = 0
- for x in r1chance:
- for y in r2chance:
- for z in r2chance:
- result = x + ' ' + y + ' ' + z
- payout = get_scaled_payout(guess, result)
- p = r1chance[x]*r2chance[y]*r2chance[z]
- total += payout*p
- print total, guess
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement