
    Create a function that generates a single-letter identifier for user interest groups by converting a user's concatenated interest string into a unique character, where the character is determined by summing the ASCII values of all characters in the interest string and taking modulo 26 of the result to map it to a letter (A-Z). This identifier will be used to group users with potentially similar interests in the friend recommendation system.
    

    
def get_Char(strr):
    """
    Create a function that generates a single-letter identifier for user interest groups by converting a user's concatenated interest string into a unique character, where the character is determined by summing the ASCII values of all characters in the interest string and taking modulo 26 of the result to map it to a letter (A-Z). This identifier will be used to group users with potentially similar interests in the friend recommendation system.
    

    """
def get_Char(strr):
    """
    Create a function that generates a single-letter identifier for user interest groups by converting a user's concatenated interest string into a unique character, where the character is determined by summing the ASCII values of all characters in the interest string and taking modulo 26 of the result to map it to a letter (A-Z). This identifier will be used to group users with potentially similar interests in the friend 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)