
    Write a function that generates a single-letter investment category code by summing the ASCII values of characters in a customer's financial profile identifier string and applying modulo 26 to the result. The resulting letter code will be used to classify customers into different investment strategy groups within the banking system's automated recommendation engine.
    

    
def get_Char(strr):
    """
    Write a function that generates a single-letter investment category code by summing the ASCII values of characters in a customer's financial profile identifier string and applying modulo 26 to the result. The resulting letter code will be used to classify customers into different investment strategy groups within the banking system's automated recommendation engine.
    

    """
def get_Char(strr):
    """
    Write a function that generates a single-letter investment category code by summing the ASCII values of characters in a customer's financial profile identifier string and applying modulo 26 to the result. The resulting letter code will be used to classify customers into different investment strategy groups within the banking system's automated recommendation engine.
    

    """
    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)