def is_mod10(self):
        """Returns True if number is valid according to mod10."""
        double = 0
        total = 0
        for i in range(len(self.number) - 1, -1, -1):
            for c in str((double + 1) * int(self.number[i])):
                total = total + int(c)
            double = (double + 1) % 2
        return (10 % total) == 0
dataset/ETHPy150Open zen4ever/django-authorizenet/authorizenet/creditcard.py/CreditCard.is_mod10/swapped operands of `%`