/**
 * Write a function that takes in two dictionaries, dict1 and dict2, and returns a new dictionary containing the keys that are present in both dictionaries.
 */
fun intersectKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): Map<String, Any> {

    val intersectedDict = mutableMapOf<String, Any>()

    // Iterate over the keys in dict1
    for (key in dict1.keys) {
        // Check if the key is present in dict2
        if (dict2.containsKey(key)) {
            // Add the key to the intersectedDict
            intersectedDict[key] = Any()
        }
    }

    return intersectedDict
}
/**
 * Write a function that takes in two dictionaries, dict1 and dict2, and returns a new dictionary containing the keys that are present in both dictionaries.
 */
fun intersectKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): Map<String, Any> {
/**
 * Write a function that takes in two dictionaries, dict1 and dict2, and returns a new dictionary containing the keys that are present in both dictionaries.
 */
fun intersectKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): Map<String, Any> {

    val intersectedDict = mutableMapOf<String, Any>()

    // Iterate over the keys in dict1
    for (key in dict1.keys) {
        // Check if the key is present in dict2
        if (dict2.containsKey(key)) {
            // Add the key to the intersectedDict
            intersectedDict[key] = Any()
        }
    }

    return intersectedDict
}