
    Design a function for an adaptive learning platform that analyzes student writing submissions by counting the number of capital letters used, helping assess their understanding of proper capitalization rules. The function should process any submitted text and return the total count of uppercase characters, enabling the platform to evaluate student performance and adjust lesson difficulty accordingly.
    

    
def upper_ctr(str):
    """
    Design a function for an adaptive learning platform that analyzes student writing submissions by counting the number of capital letters used, helping assess their understanding of proper capitalization rules. The function should process any submitted text and return the total count of uppercase characters, enabling the platform to evaluate student performance and adjust lesson difficulty accordingly.
    

    """
def upper_ctr(str):
    """
    Design a function for an adaptive learning platform that analyzes student writing submissions by counting the number of capital letters used, helping assess their understanding of proper capitalization rules. The function should process any submitted text and return the total count of uppercase characters, enabling the platform to evaluate student performance and adjust lesson difficulty accordingly.
    

    """
    upper_ctr = 0
    for i in range(len(str)):
        if str[i] >= 'A' and str[i] <= 'Z':
            upper_ctr += 1
        return upper_ctr