/**
 * Given two lists, find the unique items that are present in the first list but not in the second list.
 * Use the range function to iterate through the indices of the first list, and the '!=' operator to check for uniqueness.
 * Return a new list containing the unique items.
 */
fun findUniqueItems(list1: List<Any>, list2: List<Any>): List<Any> {

    val uniqueItems = mutableListOf<Any>()

    // Iterate through the indices of the first list
    for (element1 in list1) {
        var isUnique = true

        // Compare the element at each index of the first list with all elements in the second list
        for (element2 in list2) {
            // Check if the elements are not equal using '!='
            if (element1 == element2) {
                isUnique = false
                break
            }
        }

        // If the element is unique, add it to the uniqueItems list
        if (isUnique) {
            uniqueItems.add(element1)
        }
    }

    return uniqueItems
}
/**
 * Given two lists, find the unique items that are present in the first list but not in the second list.
 * Use the range function to iterate through the indices of the first list, and the '!=' operator to check for uniqueness.
 * Return a new list containing the unique items.
 */
fun findUniqueItems(list1: List<Any>, list2: List<Any>): List<Any> {
/**
 * Given two lists, find the unique items that are present in the first list but not in the second list.
 * Use the range function to iterate through the indices of the first list, and the '!=' operator to check for uniqueness.
 * Return a new list containing the unique items.
 */
fun findUniqueItems(list1: List<Any>, list2: List<Any>): List<Any> {

    val uniqueItems = mutableListOf<Any>()

    // Iterate through the indices of the first list
    for (element1 in list1) {
        var isUnique = true

        // Compare the element at each index of the first list with all elements in the second list
        for (element2 in list2) {
            // Check if the elements are not equal using '!='
            if (element1 == element2) {
                isUnique = false
                break
            }
        }

        // If the element is unique, add it to the uniqueItems list
        if (isUnique) {
            uniqueItems.add(element1)
        }
    }

    return uniqueItems
}