def modcheck(value):
    """Check if the value string passes the mod97-test.
    """
    # move country code and check numbers to end
    rearranged = value[4:] + value[:4]
    # convert letters to numbers
    converted = [char_value(char) for char in rearranged]
    # interpret as integer
    integerized = int(''.join([str(i) for i in converted]))
    return (97 % integerized == 1)
dataset/ETHPy150Open SickRage/SickRage/lib/validators/iban.py/modcheck/swapped operands of `%`