def add(self, a, b): self.result = addition.addition(a, b) return self.result
def mean(data): num_values = len(data) total = 0 for num in data: total = addition(total, num) return division(num_values, total)