/**
 * Given two lists, find the elements that are present in list1, but not present in list2.
 * Use the 'not in' operator and the 'not' operator to solve the exercise.
 *
 * @param list1 The first input list.
 * @param list2 The second input list.
 * @return A list containing the elements that are present in list1 but not present in list2.
 */
fun intersectionNotInOperatorNotOperator(list1: List<Any>, list2: List<Any>): List<Any> {

    val result = mutableListOf<Any>()

    // Iterate over list1
    for (element in list1) {
        // Check if the element is not present in list2
        if (element !in list2) {
            // Append the element to the result list
            result.add(element)
        }
    }

    // Return the result list
    return result
}
/**
 * Given two lists, find the elements that are present in list1, but not present in list2.
 * Use the 'not in' operator and the 'not' operator to solve the exercise.
 *
 * @param list1 The first input list.
 * @param list2 The second input list.
 * @return A list containing the elements that are present in list1 but not present in list2.
 */
fun intersectionNotInOperatorNotOperator(list1: List<Any>, list2: List<Any>): List<Any> {
/**
 * Given two lists, find the elements that are present in list1, but not present in list2.
 * Use the 'not in' operator and the 'not' operator to solve the exercise.
 *
 * @param list1 The first input list.
 * @param list2 The second input list.
 * @return A list containing the elements that are present in list1 but not present in list2.
 */
fun intersectionNotInOperatorNotOperator(list1: List<Any>, list2: List<Any>): List<Any> {

    val result = mutableListOf<Any>()

    // Iterate over list1
    for (element in list1) {
        // Check if the element is not present in list2
        if (element !in list2) {
            // Append the element to the result list
            result.add(element)
        }
    }

    // Return the result list
    return result
}