def calc_check_digit(number):
    """Calculate the check digit. The number passed should not have the
    check digit included."""
    s = sum((9 - i) * int(n) for i, n in enumerate(number))
    return str((11 - s) % 11 % 10)