/**
 * This function takes two dictionaries as input and returns a list of common keys that are present in both dictionaries.
 *
 * @param dict1 First dictionary
 * @param dict2 Second dictionary
 * @return List of common keys in dict1 and dict2
 */
fun findCommonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): List<String> {

    // Initialize an empty list to store common keys
    val commonKeys = mutableListOf<String>()

    // Loop through each key in the first dictionary
    for (key in dict1.keys) {
        // Check if the key is present in the second dictionary
        if (dict2.containsKey(key)) {
            // Append the key to the commonKeys list
            commonKeys.add(key)
        }
    }

    // Return the list of common keys
    return commonKeys
}
/**
 * This function takes two dictionaries as input and returns a list of common keys that are present in both dictionaries.
 *
 * @param dict1 First dictionary
 * @param dict2 Second dictionary
 * @return List of common keys in dict1 and dict2
 */
fun findCommonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): List<String> {
/**
 * This function takes two dictionaries as input and returns a list of common keys that are present in both dictionaries.
 *
 * @param dict1 First dictionary
 * @param dict2 Second dictionary
 * @return List of common keys in dict1 and dict2
 */
fun findCommonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): List<String> {

    // Initialize an empty list to store common keys
    val commonKeys = mutableListOf<String>()

    // Loop through each key in the first dictionary
    for (key in dict1.keys) {
        // Check if the key is present in the second dictionary
        if (dict2.containsKey(key)) {
            // Append the key to the commonKeys list
            commonKeys.add(key)
        }
    }

    // Return the list of common keys
    return commonKeys
}