class Board1:

    def __init__(self):
        self.rows = []

    def add(self, color, col):
        self.rows[self.get_bottom(col)] = color


class Board2:

    def __init__(self):
        self.d = {}

    def add(self, color, col):
        self.d[col] = color


b = Board2()
print(b.d)
b.add('r', 3)
print(b.d)
b.add('y', 4)
print(b.d)

9ca35b1b4f97fb4c003e2966d1b3c110e41242e5
<mask token>


class Board2:

    def __init__(self):
        self.d = {}

    def add(self, color, col):
        self.d[col] = color


<mask token>

class Board1:

    def __init__(self):
        self.rows = []

    def add(self, color, col):
        self.rows[self.get_bottom(col)] = color


class Board2:

    def __init__(self):
        self.d = {}

    def add(self, color, col):
        self.d[col] = color


<mask token>

class Board1:

    def __init__(self):
        self.rows = []

    def add(self, color, col):
        self.rows[self.get_bottom(col)] = color


class Board2:

    def __init__(self):
        self.d = {}

    def add(self, color, col):
        self.d[col] = color


<mask token>
print(b.d)
b.add('r', 3)
print(b.d)
b.add('y', 4)
print(b.d)

class Board1:

    def __init__(self):
        self.rows = []

    def add(self, color, col):
        self.rows[self.get_bottom(col)] = color


class Board2:

    def __init__(self):
        self.d = {}

    def add(self, color, col):
        self.d[col] = color


b = Board2()
print(b.d)
b.add('r', 3)
print(b.d)
b.add('y', 4)
print(b.d)
