@property
def avg(self):
    if (self.count == 0):
        return 0.0
    return (self.sum / self.count)
@property
def avg(self):
    if (self.count == 0):
        return 0.0
    return (self.sum / self.count)