import string


def getalpha(x):
    """Convert integer to alphabetic character.

    Assigns every integer to a alphabetic string.
    Examples for clarification:
        getalpha(0)  --> "A"
        getalpha(1)  --> "B"
        getalpha(27) --> "AB"

    Args:
        x (integer): Number to be converted

    Returns:
        result (String): Alphabetic equivalent to integer

    Raises:
        None

    """
    result = ""
    if x // 26 > 0:
        result += getalpha((x // 26)-1)
        result += string.ascii_uppercase[(x % 26)]
    else:
        result += string.ascii_uppercase[(x % 26)]
    return result