Dictionaries

In [1]:
# Using the constructor for the dict class
d = dict()
In [2]:
# Using literal notation
d = {}
In [3]:
passwd = {'guido': 'superprogrammer',
         'turing': 'genius',
         'bill': 'monopoly'}
In [4]:
print(len(passwd))
3
In [5]:
passwd["guido"]
Out[5]:
'superprogrammer'
In [6]:
passwd["bill"]
Out[6]:
'monopoly'
In [7]:
my_list = [1,2,3,4]
my_list[0] = 20
In [8]:
my_list[4] = 30
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-8-9301cdfc191f> in <module>()
----> 1 my_list[4] = 30

IndexError: list assignment index out of range
In [9]:
passwd['jobs'] = "visionary"
In [10]:
passwd
Out[10]:
{'bill': 'monopoly',
 'guido': 'superprogrammer',
 'jobs': 'visionary',
 'turing': 'genius'}

Miami Dice

In [11]:
import random

class MSDie2:
    def __init__(self, sides):
        if sides < 4 or sides > 120:
            raise ValueError("Bad side number!")
            
        self.sides = sides
        self.roll()
        
    def roll(self):
        self.value = random.randrange(1, self.sides + 1)
        
    def get_value(self):
        return self.value
    
    def set_value(self, value):
        self.value = value
        
    def __repr__(self):
        return "<MSDie2({0}): {1}>".format(self.sides, self.value)
In [16]:
def diehard(n):
    bag_of_dice = {}

    for j in range(50):
        rand_side = random.randint(4, 121)
        rand_qty = random.randint(1, n+1)

        for i in range(rand_qty):

            a_die = MSDie2(rand_side)

            if rand_side not in bag_of_dice:
                bag_of_dice[rand_side] = []

            bag_of_dice[rand_side].append(a_die)

    return bag_of_dice
In [20]:
dice_dict = diehard(30)
In [23]:
dice_dict[10]
Out[23]:
[<MSDie2(10): 9>, <MSDie2(10): 1>]
In [24]:
len(dice_dict)
Out[24]:
40
In [27]:
len(dice_dict[12])
Out[27]:
16
In [29]:
try:
    dice_dict[77]
except KeyError:
    print("No die of this side in dict")    
No die of this side in dict
In [31]:
print(dice_dict.get(77))
None
In [32]:
print(dice_dict.get(77, "booya"))
booya
In [33]:
print(dice_dict.get(10, "booya"))
[<MSDie2(10): 9>, <MSDie2(10): 1>]
In [34]:
del dice_dict[10]
In [35]:
dice_dict.keys()
Out[35]:
dict_keys([55, 31, 32, 99, 13, 67, 19, 108, 57, 66, 92, 48, 36, 79, 40, 9, 51, 47, 105, 29, 102, 24, 28, 115, 11, 78, 12, 4, 76, 56, 14, 95, 39, 5, 72, 8, 106, 65, 104])
In [38]:
for key in dice_dict.keys():
    print(key)
55
31
32
99
13
67
19
108
57
66
92
48
36
79
40
9
51
47
105
29
102
24
28
115
11
78
12
4
76
56
14
95
39
5
72
8
106
65
104
In [36]:
dice_dict.values()
Out[36]:
dict_values([[<MSDie2(55): 4>, <MSDie2(55): 46>, <MSDie2(55): 42>, <MSDie2(55): 44>, <MSDie2(55): 46>, <MSDie2(55): 25>, <MSDie2(55): 18>, <MSDie2(55): 15>, <MSDie2(55): 9>, <MSDie2(55): 24>, <MSDie2(55): 10>, <MSDie2(55): 28>, <MSDie2(55): 28>, <MSDie2(55): 25>, <MSDie2(55): 33>, <MSDie2(55): 35>, <MSDie2(55): 41>, <MSDie2(55): 36>, <MSDie2(55): 22>, <MSDie2(55): 44>, <MSDie2(55): 3>, <MSDie2(55): 50>, <MSDie2(55): 18>, <MSDie2(55): 53>, <MSDie2(55): 39>, <MSDie2(55): 7>, <MSDie2(55): 30>, <MSDie2(55): 8>, <MSDie2(55): 16>, <MSDie2(55): 40>, <MSDie2(55): 30>, <MSDie2(55): 28>], [<MSDie2(31): 24>, <MSDie2(31): 14>, <MSDie2(31): 24>, <MSDie2(31): 25>, <MSDie2(31): 13>, <MSDie2(31): 25>, <MSDie2(31): 20>, <MSDie2(31): 16>, <MSDie2(31): 15>, <MSDie2(31): 21>, <MSDie2(31): 13>, <MSDie2(31): 16>, <MSDie2(31): 31>, <MSDie2(31): 18>, <MSDie2(31): 13>, <MSDie2(31): 6>, <MSDie2(31): 20>, <MSDie2(31): 19>, <MSDie2(31): 19>, <MSDie2(31): 5>, <MSDie2(31): 2>, <MSDie2(31): 1>, <MSDie2(31): 18>, <MSDie2(31): 30>, <MSDie2(31): 13>, <MSDie2(31): 25>, <MSDie2(31): 7>, <MSDie2(31): 26>, <MSDie2(31): 29>, <MSDie2(31): 30>, <MSDie2(31): 11>, <MSDie2(31): 28>, <MSDie2(31): 5>], [<MSDie2(32): 2>, <MSDie2(32): 21>, <MSDie2(32): 20>, <MSDie2(32): 29>, <MSDie2(32): 12>, <MSDie2(32): 6>, <MSDie2(32): 10>, <MSDie2(32): 21>, <MSDie2(32): 12>, <MSDie2(32): 10>, <MSDie2(32): 2>, <MSDie2(32): 13>, <MSDie2(32): 17>, <MSDie2(32): 22>], [<MSDie2(99): 98>, <MSDie2(99): 62>, <MSDie2(99): 88>, <MSDie2(99): 73>, <MSDie2(99): 4>, <MSDie2(99): 10>, <MSDie2(99): 96>, <MSDie2(99): 52>, <MSDie2(99): 13>, <MSDie2(99): 95>, <MSDie2(99): 55>, <MSDie2(99): 15>, <MSDie2(99): 53>, <MSDie2(99): 34>, <MSDie2(99): 35>, <MSDie2(99): 89>, <MSDie2(99): 79>, <MSDie2(99): 58>, <MSDie2(99): 70>, <MSDie2(99): 43>, <MSDie2(99): 85>, <MSDie2(99): 82>, <MSDie2(99): 77>, <MSDie2(99): 57>, <MSDie2(99): 74>, <MSDie2(99): 4>, <MSDie2(99): 8>, <MSDie2(99): 6>, <MSDie2(99): 41>, <MSDie2(99): 28>, <MSDie2(99): 60>, <MSDie2(99): 63>, <MSDie2(99): 37>, <MSDie2(99): 1>, <MSDie2(99): 61>, <MSDie2(99): 16>, <MSDie2(99): 94>, <MSDie2(99): 13>, <MSDie2(99): 92>, <MSDie2(99): 30>, <MSDie2(99): 7>, <MSDie2(99): 19>, <MSDie2(99): 37>, <MSDie2(99): 14>, <MSDie2(99): 86>, <MSDie2(99): 15>, <MSDie2(99): 48>, <MSDie2(99): 70>, <MSDie2(99): 23>, <MSDie2(99): 10>, <MSDie2(99): 54>, <MSDie2(99): 1>, <MSDie2(99): 50>, <MSDie2(99): 61>, <MSDie2(99): 7>, <MSDie2(99): 48>, <MSDie2(99): 84>, <MSDie2(99): 24>, <MSDie2(99): 38>, <MSDie2(99): 43>], [<MSDie2(13): 2>, <MSDie2(13): 6>, <MSDie2(13): 7>, <MSDie2(13): 9>, <MSDie2(13): 11>, <MSDie2(13): 5>, <MSDie2(13): 10>, <MSDie2(13): 5>, <MSDie2(13): 10>, <MSDie2(13): 1>, <MSDie2(13): 5>, <MSDie2(13): 8>, <MSDie2(13): 2>, <MSDie2(13): 7>, <MSDie2(13): 11>, <MSDie2(13): 4>, <MSDie2(13): 6>, <MSDie2(13): 3>, <MSDie2(13): 6>, <MSDie2(13): 4>, <MSDie2(13): 11>, <MSDie2(13): 3>, <MSDie2(13): 10>, <MSDie2(13): 13>, <MSDie2(13): 10>, <MSDie2(13): 4>, <MSDie2(13): 4>, <MSDie2(13): 13>, <MSDie2(13): 3>], [<MSDie2(67): 43>, <MSDie2(67): 30>, <MSDie2(67): 32>, <MSDie2(67): 64>, <MSDie2(67): 67>, <MSDie2(67): 5>, <MSDie2(67): 10>, <MSDie2(67): 56>, <MSDie2(67): 20>], [<MSDie2(19): 13>, <MSDie2(19): 15>, <MSDie2(19): 6>, <MSDie2(19): 15>, <MSDie2(19): 18>, <MSDie2(19): 7>, <MSDie2(19): 12>, <MSDie2(19): 19>, <MSDie2(19): 4>, <MSDie2(19): 13>, <MSDie2(19): 1>, <MSDie2(19): 17>, <MSDie2(19): 3>, <MSDie2(19): 14>, <MSDie2(19): 12>, <MSDie2(19): 9>, <MSDie2(19): 14>, <MSDie2(19): 11>, <MSDie2(19): 7>, <MSDie2(19): 13>, <MSDie2(19): 15>, <MSDie2(19): 15>, <MSDie2(19): 1>, <MSDie2(19): 1>, <MSDie2(19): 2>, <MSDie2(19): 13>, <MSDie2(19): 8>], [<MSDie2(108): 91>, <MSDie2(108): 105>, <MSDie2(108): 14>, <MSDie2(108): 10>, <MSDie2(108): 94>, <MSDie2(108): 107>, <MSDie2(108): 73>, <MSDie2(108): 45>, <MSDie2(108): 73>, <MSDie2(108): 78>, <MSDie2(108): 2>, <MSDie2(108): 79>, <MSDie2(108): 56>, <MSDie2(108): 49>, <MSDie2(108): 41>, <MSDie2(108): 5>, <MSDie2(108): 58>, <MSDie2(108): 41>], [<MSDie2(57): 44>, <MSDie2(57): 22>], [<MSDie2(66): 36>, <MSDie2(66): 8>, <MSDie2(66): 52>, <MSDie2(66): 59>, <MSDie2(66): 43>, <MSDie2(66): 11>, <MSDie2(66): 25>, <MSDie2(66): 39>, <MSDie2(66): 38>, <MSDie2(66): 60>, <MSDie2(66): 33>, <MSDie2(66): 61>, <MSDie2(66): 51>, <MSDie2(66): 19>, <MSDie2(66): 53>, <MSDie2(66): 14>, <MSDie2(66): 53>, <MSDie2(66): 20>, <MSDie2(66): 66>, <MSDie2(66): 13>, <MSDie2(66): 41>, <MSDie2(66): 64>, <MSDie2(66): 48>, <MSDie2(66): 12>, <MSDie2(66): 56>, <MSDie2(66): 34>, <MSDie2(66): 58>, <MSDie2(66): 8>, <MSDie2(66): 21>, <MSDie2(66): 35>], [<MSDie2(92): 34>, <MSDie2(92): 78>, <MSDie2(92): 55>, <MSDie2(92): 47>, <MSDie2(92): 48>, <MSDie2(92): 72>, <MSDie2(92): 19>, <MSDie2(92): 6>, <MSDie2(92): 85>, <MSDie2(92): 47>, <MSDie2(92): 69>, <MSDie2(92): 67>, <MSDie2(92): 56>, <MSDie2(92): 84>, <MSDie2(92): 43>, <MSDie2(92): 70>], [<MSDie2(48): 3>, <MSDie2(48): 18>, <MSDie2(48): 30>, <MSDie2(48): 1>, <MSDie2(48): 8>, <MSDie2(48): 22>, <MSDie2(48): 25>, <MSDie2(48): 40>, <MSDie2(48): 25>, <MSDie2(48): 21>, <MSDie2(48): 28>, <MSDie2(48): 5>, <MSDie2(48): 31>, <MSDie2(48): 6>, <MSDie2(48): 31>, <MSDie2(48): 6>, <MSDie2(48): 12>, <MSDie2(48): 41>, <MSDie2(48): 6>, <MSDie2(48): 5>, <MSDie2(48): 24>, <MSDie2(48): 45>, <MSDie2(48): 25>, <MSDie2(48): 9>, <MSDie2(48): 35>, <MSDie2(48): 18>, <MSDie2(48): 1>, <MSDie2(48): 47>, <MSDie2(48): 9>, <MSDie2(48): 11>, <MSDie2(48): 10>, <MSDie2(48): 26>, <MSDie2(48): 6>, <MSDie2(48): 26>, <MSDie2(48): 35>, <MSDie2(48): 7>, <MSDie2(48): 20>, <MSDie2(48): 22>, <MSDie2(48): 43>, <MSDie2(48): 13>, <MSDie2(48): 41>], [<MSDie2(36): 27>, <MSDie2(36): 24>, <MSDie2(36): 8>, <MSDie2(36): 25>, <MSDie2(36): 23>, <MSDie2(36): 36>, <MSDie2(36): 7>, <MSDie2(36): 32>, <MSDie2(36): 36>, <MSDie2(36): 22>, <MSDie2(36): 21>, <MSDie2(36): 4>, <MSDie2(36): 7>, <MSDie2(36): 33>, <MSDie2(36): 16>, <MSDie2(36): 8>, <MSDie2(36): 27>, <MSDie2(36): 2>, <MSDie2(36): 34>, <MSDie2(36): 3>, <MSDie2(36): 28>, <MSDie2(36): 14>, <MSDie2(36): 9>, <MSDie2(36): 24>, <MSDie2(36): 6>, <MSDie2(36): 15>, <MSDie2(36): 10>, <MSDie2(36): 3>], [<MSDie2(79): 54>, <MSDie2(79): 33>, <MSDie2(79): 51>, <MSDie2(79): 64>, <MSDie2(79): 59>, <MSDie2(79): 53>, <MSDie2(79): 18>, <MSDie2(79): 60>, <MSDie2(79): 34>, <MSDie2(79): 71>, <MSDie2(79): 30>, <MSDie2(79): 11>, <MSDie2(79): 8>, <MSDie2(79): 22>, <MSDie2(79): 53>, <MSDie2(79): 35>, <MSDie2(79): 42>, <MSDie2(79): 29>, <MSDie2(79): 48>, <MSDie2(79): 77>, <MSDie2(79): 10>, <MSDie2(79): 9>, <MSDie2(79): 7>, <MSDie2(79): 55>, <MSDie2(79): 37>], [<MSDie2(40): 6>, <MSDie2(40): 10>, <MSDie2(40): 35>, <MSDie2(40): 23>, <MSDie2(40): 4>, <MSDie2(40): 35>, <MSDie2(40): 20>, <MSDie2(40): 37>], [<MSDie2(9): 5>, <MSDie2(9): 3>, <MSDie2(9): 2>, <MSDie2(9): 7>, <MSDie2(9): 2>, <MSDie2(9): 8>, <MSDie2(9): 8>, <MSDie2(9): 7>, <MSDie2(9): 5>, <MSDie2(9): 7>, <MSDie2(9): 7>, <MSDie2(9): 9>, <MSDie2(9): 7>, <MSDie2(9): 7>, <MSDie2(9): 7>, <MSDie2(9): 4>], [<MSDie2(51): 30>, <MSDie2(51): 44>, <MSDie2(51): 43>, <MSDie2(51): 32>, <MSDie2(51): 14>, <MSDie2(51): 41>, <MSDie2(51): 3>], [<MSDie2(47): 24>, <MSDie2(47): 24>, <MSDie2(47): 44>, <MSDie2(47): 3>, <MSDie2(47): 43>, <MSDie2(47): 2>, <MSDie2(47): 17>, <MSDie2(47): 23>, <MSDie2(47): 2>, <MSDie2(47): 43>, <MSDie2(47): 47>, <MSDie2(47): 16>, <MSDie2(47): 40>, <MSDie2(47): 26>, <MSDie2(47): 18>, <MSDie2(47): 9>, <MSDie2(47): 1>, <MSDie2(47): 43>, <MSDie2(47): 22>, <MSDie2(47): 39>, <MSDie2(47): 13>, <MSDie2(47): 10>, <MSDie2(47): 24>, <MSDie2(47): 43>, <MSDie2(47): 30>, <MSDie2(47): 41>, <MSDie2(47): 9>, <MSDie2(47): 18>, <MSDie2(47): 33>, <MSDie2(47): 11>, <MSDie2(47): 11>, <MSDie2(47): 45>, <MSDie2(47): 20>, <MSDie2(47): 12>, <MSDie2(47): 17>, <MSDie2(47): 14>, <MSDie2(47): 31>], [<MSDie2(105): 103>, <MSDie2(105): 2>, <MSDie2(105): 13>, <MSDie2(105): 14>, <MSDie2(105): 49>, <MSDie2(105): 5>, <MSDie2(105): 30>, <MSDie2(105): 100>, <MSDie2(105): 23>, <MSDie2(105): 48>, <MSDie2(105): 62>, <MSDie2(105): 105>, <MSDie2(105): 92>, <MSDie2(105): 8>, <MSDie2(105): 57>, <MSDie2(105): 56>, <MSDie2(105): 89>, <MSDie2(105): 3>, <MSDie2(105): 103>, <MSDie2(105): 92>, <MSDie2(105): 56>, <MSDie2(105): 95>, <MSDie2(105): 61>, <MSDie2(105): 63>, <MSDie2(105): 2>, <MSDie2(105): 5>, <MSDie2(105): 101>, <MSDie2(105): 26>, <MSDie2(105): 83>, <MSDie2(105): 57>, <MSDie2(105): 17>, <MSDie2(105): 22>, <MSDie2(105): 98>, <MSDie2(105): 16>, <MSDie2(105): 81>, <MSDie2(105): 8>, <MSDie2(105): 77>, <MSDie2(105): 80>, <MSDie2(105): 25>, <MSDie2(105): 59>, <MSDie2(105): 95>, <MSDie2(105): 87>, <MSDie2(105): 94>, <MSDie2(105): 14>, <MSDie2(105): 8>, <MSDie2(105): 53>, <MSDie2(105): 95>, <MSDie2(105): 43>, <MSDie2(105): 85>, <MSDie2(105): 105>, <MSDie2(105): 10>, <MSDie2(105): 101>, <MSDie2(105): 86>], [<MSDie2(29): 10>, <MSDie2(29): 12>, <MSDie2(29): 1>, <MSDie2(29): 26>, <MSDie2(29): 7>, <MSDie2(29): 12>, <MSDie2(29): 23>, <MSDie2(29): 14>, <MSDie2(29): 24>, <MSDie2(29): 18>, <MSDie2(29): 6>, <MSDie2(29): 26>, <MSDie2(29): 27>, <MSDie2(29): 14>, <MSDie2(29): 5>, <MSDie2(29): 29>, <MSDie2(29): 7>, <MSDie2(29): 13>, <MSDie2(29): 17>, <MSDie2(29): 17>, <MSDie2(29): 9>, <MSDie2(29): 2>, <MSDie2(29): 14>, <MSDie2(29): 13>], [<MSDie2(102): 28>, <MSDie2(102): 41>, <MSDie2(102): 101>, <MSDie2(102): 94>, <MSDie2(102): 83>, <MSDie2(102): 61>, <MSDie2(102): 36>, <MSDie2(102): 28>, <MSDie2(102): 23>, <MSDie2(102): 46>, <MSDie2(102): 90>, <MSDie2(102): 28>, <MSDie2(102): 24>, <MSDie2(102): 42>, <MSDie2(102): 7>, <MSDie2(102): 65>, <MSDie2(102): 87>, <MSDie2(102): 69>, <MSDie2(102): 67>, <MSDie2(102): 64>, <MSDie2(102): 97>, <MSDie2(102): 100>, <MSDie2(102): 13>, <MSDie2(102): 81>, <MSDie2(102): 57>, <MSDie2(102): 98>, <MSDie2(102): 76>, <MSDie2(102): 62>, <MSDie2(102): 69>, <MSDie2(102): 56>, <MSDie2(102): 61>], [<MSDie2(24): 17>, <MSDie2(24): 7>, <MSDie2(24): 10>, <MSDie2(24): 14>, <MSDie2(24): 1>, <MSDie2(24): 24>, <MSDie2(24): 9>, <MSDie2(24): 20>, <MSDie2(24): 6>, <MSDie2(24): 19>, <MSDie2(24): 11>], [<MSDie2(28): 27>, <MSDie2(28): 21>, <MSDie2(28): 20>, <MSDie2(28): 5>, <MSDie2(28): 18>, <MSDie2(28): 14>, <MSDie2(28): 14>, <MSDie2(28): 2>], [<MSDie2(115): 51>, <MSDie2(115): 90>, <MSDie2(115): 104>, <MSDie2(115): 65>, <MSDie2(115): 4>, <MSDie2(115): 113>, <MSDie2(115): 105>, <MSDie2(115): 37>, <MSDie2(115): 59>, <MSDie2(115): 4>, <MSDie2(115): 79>, <MSDie2(115): 24>, <MSDie2(115): 43>, <MSDie2(115): 18>, <MSDie2(115): 115>, <MSDie2(115): 67>, <MSDie2(115): 110>, <MSDie2(115): 11>, <MSDie2(115): 40>, <MSDie2(115): 11>, <MSDie2(115): 30>, <MSDie2(115): 22>, <MSDie2(115): 87>, <MSDie2(115): 11>, <MSDie2(115): 102>, <MSDie2(115): 50>, <MSDie2(115): 77>, <MSDie2(115): 66>, <MSDie2(115): 104>, <MSDie2(115): 113>], [<MSDie2(11): 3>, <MSDie2(11): 4>, <MSDie2(11): 1>, <MSDie2(11): 3>, <MSDie2(11): 6>, <MSDie2(11): 9>, <MSDie2(11): 10>, <MSDie2(11): 3>, <MSDie2(11): 3>, <MSDie2(11): 5>, <MSDie2(11): 9>, <MSDie2(11): 4>, <MSDie2(11): 1>], [<MSDie2(78): 27>, <MSDie2(78): 16>, <MSDie2(78): 29>, <MSDie2(78): 75>, <MSDie2(78): 43>, <MSDie2(78): 41>, <MSDie2(78): 74>, <MSDie2(78): 64>], [<MSDie2(12): 7>, <MSDie2(12): 4>, <MSDie2(12): 4>, <MSDie2(12): 9>, <MSDie2(12): 9>, <MSDie2(12): 12>, <MSDie2(12): 2>, <MSDie2(12): 9>, <MSDie2(12): 4>, <MSDie2(12): 10>, <MSDie2(12): 7>, <MSDie2(12): 1>, <MSDie2(12): 2>, <MSDie2(12): 8>, <MSDie2(12): 9>, <MSDie2(12): 7>], [<MSDie2(4): 3>, <MSDie2(4): 2>, <MSDie2(4): 3>, <MSDie2(4): 3>, <MSDie2(4): 2>, <MSDie2(4): 4>, <MSDie2(4): 1>, <MSDie2(4): 1>, <MSDie2(4): 3>, <MSDie2(4): 3>, <MSDie2(4): 1>, <MSDie2(4): 2>, <MSDie2(4): 4>, <MSDie2(4): 1>, <MSDie2(4): 4>, <MSDie2(4): 1>, <MSDie2(4): 3>, <MSDie2(4): 1>, <MSDie2(4): 3>, <MSDie2(4): 3>, <MSDie2(4): 1>, <MSDie2(4): 1>, <MSDie2(4): 4>, <MSDie2(4): 3>, <MSDie2(4): 4>, <MSDie2(4): 3>, <MSDie2(4): 4>, <MSDie2(4): 2>, <MSDie2(4): 3>, <MSDie2(4): 2>], [<MSDie2(76): 42>, <MSDie2(76): 61>, <MSDie2(76): 70>, <MSDie2(76): 57>, <MSDie2(76): 75>, <MSDie2(76): 36>, <MSDie2(76): 66>, <MSDie2(76): 4>, <MSDie2(76): 7>, <MSDie2(76): 19>, <MSDie2(76): 39>, <MSDie2(76): 46>, <MSDie2(76): 74>, <MSDie2(76): 16>, <MSDie2(76): 32>, <MSDie2(76): 1>, <MSDie2(76): 33>, <MSDie2(76): 67>, <MSDie2(76): 30>, <MSDie2(76): 74>, <MSDie2(76): 47>, <MSDie2(76): 43>, <MSDie2(76): 29>, <MSDie2(76): 52>, <MSDie2(76): 27>, <MSDie2(76): 60>, <MSDie2(76): 31>, <MSDie2(76): 41>], [<MSDie2(56): 13>, <MSDie2(56): 30>, <MSDie2(56): 35>, <MSDie2(56): 56>, <MSDie2(56): 24>, <MSDie2(56): 40>, <MSDie2(56): 42>], [<MSDie2(14): 3>, <MSDie2(14): 6>, <MSDie2(14): 2>], [<MSDie2(95): 56>, <MSDie2(95): 19>, <MSDie2(95): 50>, <MSDie2(95): 2>, <MSDie2(95): 60>, <MSDie2(95): 3>, <MSDie2(95): 94>, <MSDie2(95): 59>], [<MSDie2(39): 6>, <MSDie2(39): 16>, <MSDie2(39): 13>, <MSDie2(39): 26>, <MSDie2(39): 26>], [<MSDie2(5): 3>, <MSDie2(5): 1>, <MSDie2(5): 4>, <MSDie2(5): 3>, <MSDie2(5): 1>, <MSDie2(5): 3>, <MSDie2(5): 1>, <MSDie2(5): 5>, <MSDie2(5): 2>, <MSDie2(5): 3>, <MSDie2(5): 1>, <MSDie2(5): 5>, <MSDie2(5): 1>, <MSDie2(5): 2>], [<MSDie2(72): 62>, <MSDie2(72): 53>, <MSDie2(72): 3>, <MSDie2(72): 23>, <MSDie2(72): 65>, <MSDie2(72): 12>, <MSDie2(72): 46>, <MSDie2(72): 6>, <MSDie2(72): 28>, <MSDie2(72): 62>], [<MSDie2(8): 3>, <MSDie2(8): 8>, <MSDie2(8): 4>, <MSDie2(8): 2>, <MSDie2(8): 1>, <MSDie2(8): 1>, <MSDie2(8): 4>, <MSDie2(8): 2>, <MSDie2(8): 8>, <MSDie2(8): 8>, <MSDie2(8): 4>, <MSDie2(8): 4>, <MSDie2(8): 8>, <MSDie2(8): 8>, <MSDie2(8): 1>, <MSDie2(8): 3>, <MSDie2(8): 3>, <MSDie2(8): 4>, <MSDie2(8): 3>, <MSDie2(8): 2>, <MSDie2(8): 7>, <MSDie2(8): 1>, <MSDie2(8): 7>, <MSDie2(8): 5>, <MSDie2(8): 3>, <MSDie2(8): 7>, <MSDie2(8): 7>], [<MSDie2(106): 63>, <MSDie2(106): 12>, <MSDie2(106): 25>, <MSDie2(106): 43>, <MSDie2(106): 45>, <MSDie2(106): 92>, <MSDie2(106): 89>, <MSDie2(106): 69>, <MSDie2(106): 1>, <MSDie2(106): 95>, <MSDie2(106): 42>, <MSDie2(106): 103>, <MSDie2(106): 13>, <MSDie2(106): 58>, <MSDie2(106): 54>, <MSDie2(106): 9>, <MSDie2(106): 35>, <MSDie2(106): 6>, <MSDie2(106): 87>, <MSDie2(106): 82>], [<MSDie2(65): 35>, <MSDie2(65): 58>, <MSDie2(65): 11>, <MSDie2(65): 23>, <MSDie2(65): 17>, <MSDie2(65): 31>, <MSDie2(65): 13>, <MSDie2(65): 46>, <MSDie2(65): 1>, <MSDie2(65): 35>, <MSDie2(65): 10>, <MSDie2(65): 2>, <MSDie2(65): 24>, <MSDie2(65): 52>, <MSDie2(65): 40>, <MSDie2(65): 14>, <MSDie2(65): 3>, <MSDie2(65): 41>, <MSDie2(65): 37>, <MSDie2(65): 8>, <MSDie2(65): 42>], [<MSDie2(104): 5>, <MSDie2(104): 83>, <MSDie2(104): 45>, <MSDie2(104): 12>, <MSDie2(104): 62>]])
In [37]:
dice_dict.items()
Out[37]:
dict_items([(55, [<MSDie2(55): 4>, <MSDie2(55): 46>, <MSDie2(55): 42>, <MSDie2(55): 44>, <MSDie2(55): 46>, <MSDie2(55): 25>, <MSDie2(55): 18>, <MSDie2(55): 15>, <MSDie2(55): 9>, <MSDie2(55): 24>, <MSDie2(55): 10>, <MSDie2(55): 28>, <MSDie2(55): 28>, <MSDie2(55): 25>, <MSDie2(55): 33>, <MSDie2(55): 35>, <MSDie2(55): 41>, <MSDie2(55): 36>, <MSDie2(55): 22>, <MSDie2(55): 44>, <MSDie2(55): 3>, <MSDie2(55): 50>, <MSDie2(55): 18>, <MSDie2(55): 53>, <MSDie2(55): 39>, <MSDie2(55): 7>, <MSDie2(55): 30>, <MSDie2(55): 8>, <MSDie2(55): 16>, <MSDie2(55): 40>, <MSDie2(55): 30>, <MSDie2(55): 28>]), (31, [<MSDie2(31): 24>, <MSDie2(31): 14>, <MSDie2(31): 24>, <MSDie2(31): 25>, <MSDie2(31): 13>, <MSDie2(31): 25>, <MSDie2(31): 20>, <MSDie2(31): 16>, <MSDie2(31): 15>, <MSDie2(31): 21>, <MSDie2(31): 13>, <MSDie2(31): 16>, <MSDie2(31): 31>, <MSDie2(31): 18>, <MSDie2(31): 13>, <MSDie2(31): 6>, <MSDie2(31): 20>, <MSDie2(31): 19>, <MSDie2(31): 19>, <MSDie2(31): 5>, <MSDie2(31): 2>, <MSDie2(31): 1>, <MSDie2(31): 18>, <MSDie2(31): 30>, <MSDie2(31): 13>, <MSDie2(31): 25>, <MSDie2(31): 7>, <MSDie2(31): 26>, <MSDie2(31): 29>, <MSDie2(31): 30>, <MSDie2(31): 11>, <MSDie2(31): 28>, <MSDie2(31): 5>]), (32, [<MSDie2(32): 2>, <MSDie2(32): 21>, <MSDie2(32): 20>, <MSDie2(32): 29>, <MSDie2(32): 12>, <MSDie2(32): 6>, <MSDie2(32): 10>, <MSDie2(32): 21>, <MSDie2(32): 12>, <MSDie2(32): 10>, <MSDie2(32): 2>, <MSDie2(32): 13>, <MSDie2(32): 17>, <MSDie2(32): 22>]), (99, [<MSDie2(99): 98>, <MSDie2(99): 62>, <MSDie2(99): 88>, <MSDie2(99): 73>, <MSDie2(99): 4>, <MSDie2(99): 10>, <MSDie2(99): 96>, <MSDie2(99): 52>, <MSDie2(99): 13>, <MSDie2(99): 95>, <MSDie2(99): 55>, <MSDie2(99): 15>, <MSDie2(99): 53>, <MSDie2(99): 34>, <MSDie2(99): 35>, <MSDie2(99): 89>, <MSDie2(99): 79>, <MSDie2(99): 58>, <MSDie2(99): 70>, <MSDie2(99): 43>, <MSDie2(99): 85>, <MSDie2(99): 82>, <MSDie2(99): 77>, <MSDie2(99): 57>, <MSDie2(99): 74>, <MSDie2(99): 4>, <MSDie2(99): 8>, <MSDie2(99): 6>, <MSDie2(99): 41>, <MSDie2(99): 28>, <MSDie2(99): 60>, <MSDie2(99): 63>, <MSDie2(99): 37>, <MSDie2(99): 1>, <MSDie2(99): 61>, <MSDie2(99): 16>, <MSDie2(99): 94>, <MSDie2(99): 13>, <MSDie2(99): 92>, <MSDie2(99): 30>, <MSDie2(99): 7>, <MSDie2(99): 19>, <MSDie2(99): 37>, <MSDie2(99): 14>, <MSDie2(99): 86>, <MSDie2(99): 15>, <MSDie2(99): 48>, <MSDie2(99): 70>, <MSDie2(99): 23>, <MSDie2(99): 10>, <MSDie2(99): 54>, <MSDie2(99): 1>, <MSDie2(99): 50>, <MSDie2(99): 61>, <MSDie2(99): 7>, <MSDie2(99): 48>, <MSDie2(99): 84>, <MSDie2(99): 24>, <MSDie2(99): 38>, <MSDie2(99): 43>]), (13, [<MSDie2(13): 2>, <MSDie2(13): 6>, <MSDie2(13): 7>, <MSDie2(13): 9>, <MSDie2(13): 11>, <MSDie2(13): 5>, <MSDie2(13): 10>, <MSDie2(13): 5>, <MSDie2(13): 10>, <MSDie2(13): 1>, <MSDie2(13): 5>, <MSDie2(13): 8>, <MSDie2(13): 2>, <MSDie2(13): 7>, <MSDie2(13): 11>, <MSDie2(13): 4>, <MSDie2(13): 6>, <MSDie2(13): 3>, <MSDie2(13): 6>, <MSDie2(13): 4>, <MSDie2(13): 11>, <MSDie2(13): 3>, <MSDie2(13): 10>, <MSDie2(13): 13>, <MSDie2(13): 10>, <MSDie2(13): 4>, <MSDie2(13): 4>, <MSDie2(13): 13>, <MSDie2(13): 3>]), (67, [<MSDie2(67): 43>, <MSDie2(67): 30>, <MSDie2(67): 32>, <MSDie2(67): 64>, <MSDie2(67): 67>, <MSDie2(67): 5>, <MSDie2(67): 10>, <MSDie2(67): 56>, <MSDie2(67): 20>]), (19, [<MSDie2(19): 13>, <MSDie2(19): 15>, <MSDie2(19): 6>, <MSDie2(19): 15>, <MSDie2(19): 18>, <MSDie2(19): 7>, <MSDie2(19): 12>, <MSDie2(19): 19>, <MSDie2(19): 4>, <MSDie2(19): 13>, <MSDie2(19): 1>, <MSDie2(19): 17>, <MSDie2(19): 3>, <MSDie2(19): 14>, <MSDie2(19): 12>, <MSDie2(19): 9>, <MSDie2(19): 14>, <MSDie2(19): 11>, <MSDie2(19): 7>, <MSDie2(19): 13>, <MSDie2(19): 15>, <MSDie2(19): 15>, <MSDie2(19): 1>, <MSDie2(19): 1>, <MSDie2(19): 2>, <MSDie2(19): 13>, <MSDie2(19): 8>]), (108, [<MSDie2(108): 91>, <MSDie2(108): 105>, <MSDie2(108): 14>, <MSDie2(108): 10>, <MSDie2(108): 94>, <MSDie2(108): 107>, <MSDie2(108): 73>, <MSDie2(108): 45>, <MSDie2(108): 73>, <MSDie2(108): 78>, <MSDie2(108): 2>, <MSDie2(108): 79>, <MSDie2(108): 56>, <MSDie2(108): 49>, <MSDie2(108): 41>, <MSDie2(108): 5>, <MSDie2(108): 58>, <MSDie2(108): 41>]), (57, [<MSDie2(57): 44>, <MSDie2(57): 22>]), (66, [<MSDie2(66): 36>, <MSDie2(66): 8>, <MSDie2(66): 52>, <MSDie2(66): 59>, <MSDie2(66): 43>, <MSDie2(66): 11>, <MSDie2(66): 25>, <MSDie2(66): 39>, <MSDie2(66): 38>, <MSDie2(66): 60>, <MSDie2(66): 33>, <MSDie2(66): 61>, <MSDie2(66): 51>, <MSDie2(66): 19>, <MSDie2(66): 53>, <MSDie2(66): 14>, <MSDie2(66): 53>, <MSDie2(66): 20>, <MSDie2(66): 66>, <MSDie2(66): 13>, <MSDie2(66): 41>, <MSDie2(66): 64>, <MSDie2(66): 48>, <MSDie2(66): 12>, <MSDie2(66): 56>, <MSDie2(66): 34>, <MSDie2(66): 58>, <MSDie2(66): 8>, <MSDie2(66): 21>, <MSDie2(66): 35>]), (92, [<MSDie2(92): 34>, <MSDie2(92): 78>, <MSDie2(92): 55>, <MSDie2(92): 47>, <MSDie2(92): 48>, <MSDie2(92): 72>, <MSDie2(92): 19>, <MSDie2(92): 6>, <MSDie2(92): 85>, <MSDie2(92): 47>, <MSDie2(92): 69>, <MSDie2(92): 67>, <MSDie2(92): 56>, <MSDie2(92): 84>, <MSDie2(92): 43>, <MSDie2(92): 70>]), (48, [<MSDie2(48): 3>, <MSDie2(48): 18>, <MSDie2(48): 30>, <MSDie2(48): 1>, <MSDie2(48): 8>, <MSDie2(48): 22>, <MSDie2(48): 25>, <MSDie2(48): 40>, <MSDie2(48): 25>, <MSDie2(48): 21>, <MSDie2(48): 28>, <MSDie2(48): 5>, <MSDie2(48): 31>, <MSDie2(48): 6>, <MSDie2(48): 31>, <MSDie2(48): 6>, <MSDie2(48): 12>, <MSDie2(48): 41>, <MSDie2(48): 6>, <MSDie2(48): 5>, <MSDie2(48): 24>, <MSDie2(48): 45>, <MSDie2(48): 25>, <MSDie2(48): 9>, <MSDie2(48): 35>, <MSDie2(48): 18>, <MSDie2(48): 1>, <MSDie2(48): 47>, <MSDie2(48): 9>, <MSDie2(48): 11>, <MSDie2(48): 10>, <MSDie2(48): 26>, <MSDie2(48): 6>, <MSDie2(48): 26>, <MSDie2(48): 35>, <MSDie2(48): 7>, <MSDie2(48): 20>, <MSDie2(48): 22>, <MSDie2(48): 43>, <MSDie2(48): 13>, <MSDie2(48): 41>]), (36, [<MSDie2(36): 27>, <MSDie2(36): 24>, <MSDie2(36): 8>, <MSDie2(36): 25>, <MSDie2(36): 23>, <MSDie2(36): 36>, <MSDie2(36): 7>, <MSDie2(36): 32>, <MSDie2(36): 36>, <MSDie2(36): 22>, <MSDie2(36): 21>, <MSDie2(36): 4>, <MSDie2(36): 7>, <MSDie2(36): 33>, <MSDie2(36): 16>, <MSDie2(36): 8>, <MSDie2(36): 27>, <MSDie2(36): 2>, <MSDie2(36): 34>, <MSDie2(36): 3>, <MSDie2(36): 28>, <MSDie2(36): 14>, <MSDie2(36): 9>, <MSDie2(36): 24>, <MSDie2(36): 6>, <MSDie2(36): 15>, <MSDie2(36): 10>, <MSDie2(36): 3>]), (79, [<MSDie2(79): 54>, <MSDie2(79): 33>, <MSDie2(79): 51>, <MSDie2(79): 64>, <MSDie2(79): 59>, <MSDie2(79): 53>, <MSDie2(79): 18>, <MSDie2(79): 60>, <MSDie2(79): 34>, <MSDie2(79): 71>, <MSDie2(79): 30>, <MSDie2(79): 11>, <MSDie2(79): 8>, <MSDie2(79): 22>, <MSDie2(79): 53>, <MSDie2(79): 35>, <MSDie2(79): 42>, <MSDie2(79): 29>, <MSDie2(79): 48>, <MSDie2(79): 77>, <MSDie2(79): 10>, <MSDie2(79): 9>, <MSDie2(79): 7>, <MSDie2(79): 55>, <MSDie2(79): 37>]), (40, [<MSDie2(40): 6>, <MSDie2(40): 10>, <MSDie2(40): 35>, <MSDie2(40): 23>, <MSDie2(40): 4>, <MSDie2(40): 35>, <MSDie2(40): 20>, <MSDie2(40): 37>]), (9, [<MSDie2(9): 5>, <MSDie2(9): 3>, <MSDie2(9): 2>, <MSDie2(9): 7>, <MSDie2(9): 2>, <MSDie2(9): 8>, <MSDie2(9): 8>, <MSDie2(9): 7>, <MSDie2(9): 5>, <MSDie2(9): 7>, <MSDie2(9): 7>, <MSDie2(9): 9>, <MSDie2(9): 7>, <MSDie2(9): 7>, <MSDie2(9): 7>, <MSDie2(9): 4>]), (51, [<MSDie2(51): 30>, <MSDie2(51): 44>, <MSDie2(51): 43>, <MSDie2(51): 32>, <MSDie2(51): 14>, <MSDie2(51): 41>, <MSDie2(51): 3>]), (47, [<MSDie2(47): 24>, <MSDie2(47): 24>, <MSDie2(47): 44>, <MSDie2(47): 3>, <MSDie2(47): 43>, <MSDie2(47): 2>, <MSDie2(47): 17>, <MSDie2(47): 23>, <MSDie2(47): 2>, <MSDie2(47): 43>, <MSDie2(47): 47>, <MSDie2(47): 16>, <MSDie2(47): 40>, <MSDie2(47): 26>, <MSDie2(47): 18>, <MSDie2(47): 9>, <MSDie2(47): 1>, <MSDie2(47): 43>, <MSDie2(47): 22>, <MSDie2(47): 39>, <MSDie2(47): 13>, <MSDie2(47): 10>, <MSDie2(47): 24>, <MSDie2(47): 43>, <MSDie2(47): 30>, <MSDie2(47): 41>, <MSDie2(47): 9>, <MSDie2(47): 18>, <MSDie2(47): 33>, <MSDie2(47): 11>, <MSDie2(47): 11>, <MSDie2(47): 45>, <MSDie2(47): 20>, <MSDie2(47): 12>, <MSDie2(47): 17>, <MSDie2(47): 14>, <MSDie2(47): 31>]), (105, [<MSDie2(105): 103>, <MSDie2(105): 2>, <MSDie2(105): 13>, <MSDie2(105): 14>, <MSDie2(105): 49>, <MSDie2(105): 5>, <MSDie2(105): 30>, <MSDie2(105): 100>, <MSDie2(105): 23>, <MSDie2(105): 48>, <MSDie2(105): 62>, <MSDie2(105): 105>, <MSDie2(105): 92>, <MSDie2(105): 8>, <MSDie2(105): 57>, <MSDie2(105): 56>, <MSDie2(105): 89>, <MSDie2(105): 3>, <MSDie2(105): 103>, <MSDie2(105): 92>, <MSDie2(105): 56>, <MSDie2(105): 95>, <MSDie2(105): 61>, <MSDie2(105): 63>, <MSDie2(105): 2>, <MSDie2(105): 5>, <MSDie2(105): 101>, <MSDie2(105): 26>, <MSDie2(105): 83>, <MSDie2(105): 57>, <MSDie2(105): 17>, <MSDie2(105): 22>, <MSDie2(105): 98>, <MSDie2(105): 16>, <MSDie2(105): 81>, <MSDie2(105): 8>, <MSDie2(105): 77>, <MSDie2(105): 80>, <MSDie2(105): 25>, <MSDie2(105): 59>, <MSDie2(105): 95>, <MSDie2(105): 87>, <MSDie2(105): 94>, <MSDie2(105): 14>, <MSDie2(105): 8>, <MSDie2(105): 53>, <MSDie2(105): 95>, <MSDie2(105): 43>, <MSDie2(105): 85>, <MSDie2(105): 105>, <MSDie2(105): 10>, <MSDie2(105): 101>, <MSDie2(105): 86>]), (29, [<MSDie2(29): 10>, <MSDie2(29): 12>, <MSDie2(29): 1>, <MSDie2(29): 26>, <MSDie2(29): 7>, <MSDie2(29): 12>, <MSDie2(29): 23>, <MSDie2(29): 14>, <MSDie2(29): 24>, <MSDie2(29): 18>, <MSDie2(29): 6>, <MSDie2(29): 26>, <MSDie2(29): 27>, <MSDie2(29): 14>, <MSDie2(29): 5>, <MSDie2(29): 29>, <MSDie2(29): 7>, <MSDie2(29): 13>, <MSDie2(29): 17>, <MSDie2(29): 17>, <MSDie2(29): 9>, <MSDie2(29): 2>, <MSDie2(29): 14>, <MSDie2(29): 13>]), (102, [<MSDie2(102): 28>, <MSDie2(102): 41>, <MSDie2(102): 101>, <MSDie2(102): 94>, <MSDie2(102): 83>, <MSDie2(102): 61>, <MSDie2(102): 36>, <MSDie2(102): 28>, <MSDie2(102): 23>, <MSDie2(102): 46>, <MSDie2(102): 90>, <MSDie2(102): 28>, <MSDie2(102): 24>, <MSDie2(102): 42>, <MSDie2(102): 7>, <MSDie2(102): 65>, <MSDie2(102): 87>, <MSDie2(102): 69>, <MSDie2(102): 67>, <MSDie2(102): 64>, <MSDie2(102): 97>, <MSDie2(102): 100>, <MSDie2(102): 13>, <MSDie2(102): 81>, <MSDie2(102): 57>, <MSDie2(102): 98>, <MSDie2(102): 76>, <MSDie2(102): 62>, <MSDie2(102): 69>, <MSDie2(102): 56>, <MSDie2(102): 61>]), (24, [<MSDie2(24): 17>, <MSDie2(24): 7>, <MSDie2(24): 10>, <MSDie2(24): 14>, <MSDie2(24): 1>, <MSDie2(24): 24>, <MSDie2(24): 9>, <MSDie2(24): 20>, <MSDie2(24): 6>, <MSDie2(24): 19>, <MSDie2(24): 11>]), (28, [<MSDie2(28): 27>, <MSDie2(28): 21>, <MSDie2(28): 20>, <MSDie2(28): 5>, <MSDie2(28): 18>, <MSDie2(28): 14>, <MSDie2(28): 14>, <MSDie2(28): 2>]), (115, [<MSDie2(115): 51>, <MSDie2(115): 90>, <MSDie2(115): 104>, <MSDie2(115): 65>, <MSDie2(115): 4>, <MSDie2(115): 113>, <MSDie2(115): 105>, <MSDie2(115): 37>, <MSDie2(115): 59>, <MSDie2(115): 4>, <MSDie2(115): 79>, <MSDie2(115): 24>, <MSDie2(115): 43>, <MSDie2(115): 18>, <MSDie2(115): 115>, <MSDie2(115): 67>, <MSDie2(115): 110>, <MSDie2(115): 11>, <MSDie2(115): 40>, <MSDie2(115): 11>, <MSDie2(115): 30>, <MSDie2(115): 22>, <MSDie2(115): 87>, <MSDie2(115): 11>, <MSDie2(115): 102>, <MSDie2(115): 50>, <MSDie2(115): 77>, <MSDie2(115): 66>, <MSDie2(115): 104>, <MSDie2(115): 113>]), (11, [<MSDie2(11): 3>, <MSDie2(11): 4>, <MSDie2(11): 1>, <MSDie2(11): 3>, <MSDie2(11): 6>, <MSDie2(11): 9>, <MSDie2(11): 10>, <MSDie2(11): 3>, <MSDie2(11): 3>, <MSDie2(11): 5>, <MSDie2(11): 9>, <MSDie2(11): 4>, <MSDie2(11): 1>]), (78, [<MSDie2(78): 27>, <MSDie2(78): 16>, <MSDie2(78): 29>, <MSDie2(78): 75>, <MSDie2(78): 43>, <MSDie2(78): 41>, <MSDie2(78): 74>, <MSDie2(78): 64>]), (12, [<MSDie2(12): 7>, <MSDie2(12): 4>, <MSDie2(12): 4>, <MSDie2(12): 9>, <MSDie2(12): 9>, <MSDie2(12): 12>, <MSDie2(12): 2>, <MSDie2(12): 9>, <MSDie2(12): 4>, <MSDie2(12): 10>, <MSDie2(12): 7>, <MSDie2(12): 1>, <MSDie2(12): 2>, <MSDie2(12): 8>, <MSDie2(12): 9>, <MSDie2(12): 7>]), (4, [<MSDie2(4): 3>, <MSDie2(4): 2>, <MSDie2(4): 3>, <MSDie2(4): 3>, <MSDie2(4): 2>, <MSDie2(4): 4>, <MSDie2(4): 1>, <MSDie2(4): 1>, <MSDie2(4): 3>, <MSDie2(4): 3>, <MSDie2(4): 1>, <MSDie2(4): 2>, <MSDie2(4): 4>, <MSDie2(4): 1>, <MSDie2(4): 4>, <MSDie2(4): 1>, <MSDie2(4): 3>, <MSDie2(4): 1>, <MSDie2(4): 3>, <MSDie2(4): 3>, <MSDie2(4): 1>, <MSDie2(4): 1>, <MSDie2(4): 4>, <MSDie2(4): 3>, <MSDie2(4): 4>, <MSDie2(4): 3>, <MSDie2(4): 4>, <MSDie2(4): 2>, <MSDie2(4): 3>, <MSDie2(4): 2>]), (76, [<MSDie2(76): 42>, <MSDie2(76): 61>, <MSDie2(76): 70>, <MSDie2(76): 57>, <MSDie2(76): 75>, <MSDie2(76): 36>, <MSDie2(76): 66>, <MSDie2(76): 4>, <MSDie2(76): 7>, <MSDie2(76): 19>, <MSDie2(76): 39>, <MSDie2(76): 46>, <MSDie2(76): 74>, <MSDie2(76): 16>, <MSDie2(76): 32>, <MSDie2(76): 1>, <MSDie2(76): 33>, <MSDie2(76): 67>, <MSDie2(76): 30>, <MSDie2(76): 74>, <MSDie2(76): 47>, <MSDie2(76): 43>, <MSDie2(76): 29>, <MSDie2(76): 52>, <MSDie2(76): 27>, <MSDie2(76): 60>, <MSDie2(76): 31>, <MSDie2(76): 41>]), (56, [<MSDie2(56): 13>, <MSDie2(56): 30>, <MSDie2(56): 35>, <MSDie2(56): 56>, <MSDie2(56): 24>, <MSDie2(56): 40>, <MSDie2(56): 42>]), (14, [<MSDie2(14): 3>, <MSDie2(14): 6>, <MSDie2(14): 2>]), (95, [<MSDie2(95): 56>, <MSDie2(95): 19>, <MSDie2(95): 50>, <MSDie2(95): 2>, <MSDie2(95): 60>, <MSDie2(95): 3>, <MSDie2(95): 94>, <MSDie2(95): 59>]), (39, [<MSDie2(39): 6>, <MSDie2(39): 16>, <MSDie2(39): 13>, <MSDie2(39): 26>, <MSDie2(39): 26>]), (5, [<MSDie2(5): 3>, <MSDie2(5): 1>, <MSDie2(5): 4>, <MSDie2(5): 3>, <MSDie2(5): 1>, <MSDie2(5): 3>, <MSDie2(5): 1>, <MSDie2(5): 5>, <MSDie2(5): 2>, <MSDie2(5): 3>, <MSDie2(5): 1>, <MSDie2(5): 5>, <MSDie2(5): 1>, <MSDie2(5): 2>]), (72, [<MSDie2(72): 62>, <MSDie2(72): 53>, <MSDie2(72): 3>, <MSDie2(72): 23>, <MSDie2(72): 65>, <MSDie2(72): 12>, <MSDie2(72): 46>, <MSDie2(72): 6>, <MSDie2(72): 28>, <MSDie2(72): 62>]), (8, [<MSDie2(8): 3>, <MSDie2(8): 8>, <MSDie2(8): 4>, <MSDie2(8): 2>, <MSDie2(8): 1>, <MSDie2(8): 1>, <MSDie2(8): 4>, <MSDie2(8): 2>, <MSDie2(8): 8>, <MSDie2(8): 8>, <MSDie2(8): 4>, <MSDie2(8): 4>, <MSDie2(8): 8>, <MSDie2(8): 8>, <MSDie2(8): 1>, <MSDie2(8): 3>, <MSDie2(8): 3>, <MSDie2(8): 4>, <MSDie2(8): 3>, <MSDie2(8): 2>, <MSDie2(8): 7>, <MSDie2(8): 1>, <MSDie2(8): 7>, <MSDie2(8): 5>, <MSDie2(8): 3>, <MSDie2(8): 7>, <MSDie2(8): 7>]), (106, [<MSDie2(106): 63>, <MSDie2(106): 12>, <MSDie2(106): 25>, <MSDie2(106): 43>, <MSDie2(106): 45>, <MSDie2(106): 92>, <MSDie2(106): 89>, <MSDie2(106): 69>, <MSDie2(106): 1>, <MSDie2(106): 95>, <MSDie2(106): 42>, <MSDie2(106): 103>, <MSDie2(106): 13>, <MSDie2(106): 58>, <MSDie2(106): 54>, <MSDie2(106): 9>, <MSDie2(106): 35>, <MSDie2(106): 6>, <MSDie2(106): 87>, <MSDie2(106): 82>]), (65, [<MSDie2(65): 35>, <MSDie2(65): 58>, <MSDie2(65): 11>, <MSDie2(65): 23>, <MSDie2(65): 17>, <MSDie2(65): 31>, <MSDie2(65): 13>, <MSDie2(65): 46>, <MSDie2(65): 1>, <MSDie2(65): 35>, <MSDie2(65): 10>, <MSDie2(65): 2>, <MSDie2(65): 24>, <MSDie2(65): 52>, <MSDie2(65): 40>, <MSDie2(65): 14>, <MSDie2(65): 3>, <MSDie2(65): 41>, <MSDie2(65): 37>, <MSDie2(65): 8>, <MSDie2(65): 42>]), (104, [<MSDie2(104): 5>, <MSDie2(104): 83>, <MSDie2(104): 45>, <MSDie2(104): 12>, <MSDie2(104): 62>])])
In [39]:
[(55, [<MSDie2(55): 4>, <MSDie2(55): 46>])]
  File "<ipython-input-39-7034ea743fcc>", line 1
    [(55, [<MSDie2(55): 4>, <MSDie2(55): 46>])]
           ^
SyntaxError: invalid syntax
In [ ]: