/**
 * The function takes two lists of integers as input and returns the pairs of numbers that appear in one list but not in the other.
 */
fun nestedLoopNotOperator(data1: List<Int>, data2: List<Int>): List<Int> {

    val result = mutableListOf<Int>()

    for (num1 in data1) {
        var found = false

        // Iterate over the second list to check if num1 is present
        for (num2 in data2) {
            if (num1 == num2) {
                found = true
                break
            }
        }

        // If num1 is not present in data2, add it to the result list
        if (!found) {
            result.add(num1)
        }
    }

    return result
}
/**
 * The function takes two lists of integers as input and returns the pairs of numbers that appear in one list but not in the other.
 */
fun nestedLoopNotOperator(data1: List<Int>, data2: List<Int>): List<Int> {
/**
 * The function takes two lists of integers as input and returns the pairs of numbers that appear in one list but not in the other.
 */
fun nestedLoopNotOperator(data1: List<Int>, data2: List<Int>): List<Int> {

    val result = mutableListOf<Int>()

    for (num1 in data1) {
        var found = false

        // Iterate over the second list to check if num1 is present
        for (num2 in data2) {
            if (num1 == num2) {
                found = true
                break
            }
        }

        // If num1 is not present in data2, add it to the result list
        if (!found) {
            result.add(num1)
        }
    }

    return result
}