def character_distance(left, right):
    """Return the alphabetic distance between two uppercase one-character strings.

    For example, character_distance('R', 'B') returns 16, since 'B' has value 66
    and 'R' has value 82.
    """
    return abs(ord(left) - ord(right))