
    In an educational writing assessment, develop a function that evaluates how many letters in a student's text submission appear in the same position as they would in the alphabet (e.g., 'a' at position 1, 'b' at position 2). The function should work regardless of letter case and help measure the student's intuitive understanding of alphabetical sequencing.
    

    
def count_char_position(str1):
    """
    In an educational writing assessment, develop a function that evaluates how many letters in a student's text submission appear in the same position as they would in the alphabet (e.g., 'a' at position 1, 'b' at position 2). The function should work regardless of letter case and help measure the student's intuitive understanding of alphabetical sequencing.
    

    """
def count_char_position(str1):
    """
    In an educational writing assessment, develop a function that evaluates how many letters in a student's text submission appear in the same position as they would in the alphabet (e.g., 'a' at position 1, 'b' at position 2). The function should work regardless of letter case and help measure the student's intuitive understanding of alphabetical sequencing.
    

    """
    count_chars = 0
    for i in range(len(str1)):
        if i == ord(str1[i]) - ord('A') or i == ord(str1[i]) - ord('a'):
            count_chars += 1
    return count_chars