
    In a student's essay submission, write a function that identifies the first character that appears only once in the text, which can help detect unique writing patterns or potential typographical errors. The function should analyze the entire essay text and return the first non-repeated character it encounters.
    

    
def first_non_repeating_character(str1):
    """
    In a student's essay submission, write a function that identifies the first character that appears only once in the text, which can help detect unique writing patterns or potential typographical errors. The function should analyze the entire essay text and return the first non-repeated character it encounters.
    

    """
def first_non_repeating_character(str1):
    """
    In a student's essay submission, write a function that identifies the first character that appears only once in the text, which can help detect unique writing patterns or potential typographical errors. The function should analyze the entire essay text and return the first non-repeated character it encounters.
    

    """
    char_order = []
    ctr = {}
    for c in str1:
        if c in ctr:
            ctr[c] += 1
        else:
            ctr[c] = 1
            char_order.append(c)
    for c in char_order:
        if ctr[c] == 1:
            return c
    return None