
    Develop a function that generates a verification character for patient appointment records by processing the given appointment identifier string (containing date, time, and department code), where the verification character is calculated by summing the ASCII values of all characters in the identifier and taking modulo 26 of the sum to map to a letter (A-Z). This verification character will be used to validate the integrity of appointment records in the hospital's scheduling system.
    

    
def get_Char(strr):
    """
    Develop a function that generates a verification character for patient appointment records by processing the given appointment identifier string (containing date, time, and department code), where the verification character is calculated by summing the ASCII values of all characters in the identifier and taking modulo 26 of the sum to map to a letter (A-Z). This verification character will be used to validate the integrity of appointment records in the hospital's scheduling system.
    

    """
def get_Char(strr):
    """
    Develop a function that generates a verification character for patient appointment records by processing the given appointment identifier string (containing date, time, and department code), where the verification character is calculated by summing the ASCII values of all characters in the identifier and taking modulo 26 of the sum to map to a letter (A-Z). This verification character will be used to validate the integrity of appointment records in the hospital's scheduling 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)