
    Create a function that generates a unique event category identifier by taking a user's concatenated interest string and converting it into a single character (A-Z) by summing the ASCII values of all characters in the interest string and applying modulo 26 to the result. This character will be used to classify and group similar event preferences in the social network's recommendation system.
    

    
def get_Char(strr):
    """
    Create a function that generates a unique event category identifier by taking a user's concatenated interest string and converting it into a single character (A-Z) by summing the ASCII values of all characters in the interest string and applying modulo 26 to the result. This character will be used to classify and group similar event preferences in the social network's recommendation system.
    

    """
def get_Char(strr):
    """
    Create a function that generates a unique event category identifier by taking a user's concatenated interest string and converting it into a single character (A-Z) by summing the ASCII values of all characters in the interest string and applying modulo 26 to the result. This character will be used to classify and group similar event preferences in the social network's recommendation system.
    

    """
    summ = 0
    for i in range(len(strr)):
        summ += ord(strr[i]) - ord('a') + 1
    if summ % 26 == 0:
        return ord('z')
    else:
        summ = summ % 26
        return chr(ord('a') + summ - 1)