/**
 * The function takes two sets, set1 and set2, as arguments and removes any elements that are common to both sets.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A set containing the elements from set1 that are not present in set2.
 */
fun removeCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    // Create a copy of set1
    val modifiedSet = set1.toMutableSet()

    // Remove common elements
    modifiedSet.removeAll(set2)

    return modifiedSet
}
/**
 * The function takes two sets, set1 and set2, as arguments and removes any elements that are common to both sets.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A set containing the elements from set1 that are not present in set2.
 */
fun removeCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {
/**
 * The function takes two sets, set1 and set2, as arguments and removes any elements that are common to both sets.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A set containing the elements from set1 that are not present in set2.
 */
fun removeCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    // Create a copy of set1
    val modifiedSet = set1.toMutableSet()

    // Remove common elements
    modifiedSet.removeAll(set2)

    return modifiedSet
}