/**
 * This function removes all occurrences of a specific element from the given list using the 'is not' operator.
 *
 * @param lst The original list.
 * @param element The element to be removed from the list.
 * @return The modified list with all occurrences of the element removed.
 */
fun removeElementsNotOperator(lst: List<Any>, element: Any): List<Any> {

    val newLst = mutableListOf<Any>()
    for (item in lst) {
        if (item !== element) {
            newLst.add(item)
        }
    }
    return newLst
}
/**
 * This function removes all occurrences of a specific element from the given list using the 'is not' operator.
 *
 * @param lst The original list.
 * @param element The element to be removed from the list.
 * @return The modified list with all occurrences of the element removed.
 */
fun removeElementsNotOperator(lst: List<Any>, element: Any): List<Any> {
/**
 * This function removes all occurrences of a specific element from the given list using the 'is not' operator.
 *
 * @param lst The original list.
 * @param element The element to be removed from the list.
 * @return The modified list with all occurrences of the element removed.
 */
fun removeElementsNotOperator(lst: List<Any>, element: Any): List<Any> {

    val newLst = mutableListOf<Any>()
    for (item in lst) {
        if (item !== element) {
            newLst.add(item)
        }
    }
    return newLst
}