
    Write a function that analyzes a professional's career interest keyword to determine its networking compatibility score by counting how many letters in the keyword appear in the same position as they do in the alphabet (ignoring case), where each matching position strengthens potential professional connections within the networking algorithm. For example, in the keyword "data", 'd' appears in position 4 in both the word and the alphabet, contributing to the compatibility score.
    

    
def count_char_position(str1):
    """
    Write a function that analyzes a professional's career interest keyword to determine its networking compatibility score by counting how many letters in the keyword appear in the same position as they do in the alphabet (ignoring case), where each matching position strengthens potential professional connections within the networking algorithm. For example, in the keyword "data", 'd' appears in position 4 in both the word and the alphabet, contributing to the compatibility score.
    

    """
def count_char_position(str1):
    """
    Write a function that analyzes a professional's career interest keyword to determine its networking compatibility score by counting how many letters in the keyword appear in the same position as they do in the alphabet (ignoring case), where each matching position strengthens potential professional connections within the networking algorithm. For example, in the keyword "data", 'd' appears in position 4 in both the word and the alphabet, contributing to the compatibility score.
    

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