class dividerClass(object):
    def __init__(self):
        self.d = 1

    def divide(self, value):
        return value / self.div

    def setDivider(self):
d = dividerClass()
d.divide(15)
d.div = 3
d.div = 0
d.divide(10)
