
    Create a function that extracts the achievement level from each student's course performance code in a given set of academic records, where the achievement level is always represented by the last character of the code. The function should work with a tuple of course performance codes and return only the achievement levels.
    

    
def extract_rear(test_tuple):
    """
    Create a function that extracts the achievement level from each student's course performance code in a given set of academic records, where the achievement level is always represented by the last character of the code. The function should work with a tuple of course performance codes and return only the achievement levels.
    

    """
def extract_rear(test_tuple):
    """
    Create a function that extracts the achievement level from each student's course performance code in a given set of academic records, where the achievement level is always represented by the last character of the code. The function should work with a tuple of course performance codes and return only the achievement levels.
    

    """
    res = list((sub[len(sub) - 1] for sub in test_tuple))
    return res