source: trial.py

Last change on this file was 12, checked in by David Owen <dsowen@fugue88.ws>, 8 years ago

Add execute bit to trial.py

  • Property executable set to True
File size: 193 bytes
Line 
1#!/usr/bin/python3
2
3import random
4
5import main
6
7wins = {}
8
9for i in range(1000):
10    random.seed(i)
11    winner = main.main(10)
12    x = wins.get(winner, 0)
13    wins[winner] = x + 1
14
15print(wins)
Note: See TracBrowser for help on using the repository browser.