
    Given a student's recorded alphabet recitation attempt as a string, determine how many letters were correctly positioned according to their standard alphabetical order to assess their understanding of letter sequencing. For example, if a student recites "ABFDE", both 'A' and 'B' are in their correct positions (1st and 2nd), so the score would be 2.
    

    
def count_char_position(str1):
    """
    Given a student's recorded alphabet recitation attempt as a string, determine how many letters were correctly positioned according to their standard alphabetical order to assess their understanding of letter sequencing. For example, if a student recites "ABFDE", both 'A' and 'B' are in their correct positions (1st and 2nd), so the score would be 2.
    

    """
def count_char_position(str1):
    """
    Given a student's recorded alphabet recitation attempt as a string, determine how many letters were correctly positioned according to their standard alphabetical order to assess their understanding of letter sequencing. For example, if a student recites "ABFDE", both 'A' and 'B' are in their correct positions (1st and 2nd), so the score would be 2.
    

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