Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:43:06) [MSC v.1600 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> ================================ RESTART ================================ >>> [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]] [[0, 0], [0, 0], [2754, 9215], [5646, 9033], [8274, 9103], [11064, 9028], [13946, 8819], [16592, 9140], [13876, 9193], [11267, 9089], [8234, 9009], [5532, 9234], [2815, 9137]] 2 [2754, 9215] 3 [5646, 9033] 4 [8274, 9103] 5 [11064, 9028] 6 [13946, 8819] 7 [16592, 9140] 8 [13876, 9193] 9 [11267, 9089] 10 [8234, 9009] 11 [5532, 9234] 12 [2815, 9137] Press Enter or Return to continue: dice() dice2() ------------ ------------ 2 2754 2.7% 9215 9.2% 3 5646 5.6% 9033 9.0% 4 8274 8.2% 9103 9.1% 5 11064 11.0% 9028 9.0% 6 13946 13.9% 8819 8.8% 7 16592 16.5% 9140 9.1% 8 13876 13.8% 9193 9.1% 9 11267 11.2% 9089 9.0% 10 8234 8.2% 9009 9.0% 11 5532 5.5% 9234 9.2% 12 2815 2.8% 9137 9.1% ------------ ------------ def dice(): d1 = randint(1, 6) d2 = randint(1, 6) return d1 + d2 def dice2(): dice = randint(2, 12) return dice >>>