Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from random import randint
- from Strategy import Play
- import time
- for i in range(20,27):
- arr = [0,0]
- j = 0
- while (j < 50000):
- j+=1
- a = Play(i)
- if a == -2:
- arr[0]+=1
- if a == -1:
- j-=1
- if a == 0:
- arr[1] += 1
- print(str(i) + ": " + str(arr[1]/50000))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement