def num_to_letter(num):
    """Return the letter of the English alphabet at the given position."""
    if not isinstance(num, int):
        raise TypeError('Expected an integer')
    if num < 1 or num > 26:
        raise ValueError('Expected an integer between 1 and 26 (inclusive)')
    return chr(num - 1 + ord('A'))
