@staticmethod
    def add_digits(digits):
        def multi(digit):
            if len(digit) > 1:
                return sum(map(int, list(digit)))
            return int(digit)
        return sum(map(multi, list(digits)))
dataset/ETHPy150Open christabor/MoAL/MOAL/algorithms/utilities/luhn.py/Luhn.add_digits/original