
    In a delivery fleet management system, write a function that identifies the first unique character in a vehicle's tracking code to establish a quick reference identifier for real-time route optimization. The tracking code contains a combination of vehicle ID, route number, and status indicators, where finding the first non-repeated character helps dispatchers instantly distinguish between similar vehicle codes during route assignments.
    

    
def first_non_repeating_character(str1):
    """
    In a delivery fleet management system, write a function that identifies the first unique character in a vehicle's tracking code to establish a quick reference identifier for real-time route optimization. The tracking code contains a combination of vehicle ID, route number, and status indicators, where finding the first non-repeated character helps dispatchers instantly distinguish between similar vehicle codes during route assignments.
    

    """
def first_non_repeating_character(str1):
    """
    In a delivery fleet management system, write a function that identifies the first unique character in a vehicle's tracking code to establish a quick reference identifier for real-time route optimization. The tracking code contains a combination of vehicle ID, route number, and status indicators, where finding the first non-repeated character helps dispatchers instantly distinguish between similar vehicle codes during route assignments.
    

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