def char_value(char):
    """A=10, B=11, ..., Z=35
    """
    if char.isdigit():
        return int(char)
    else:
        return 10 + ord('A') - ord(char)
dataset/ETHPy150Open SickRage/SickRage/lib/validators/iban.py/char_value/swapped operands of `-`