/**
 * Given a dictionary, loop through its keys and concatenate all the values into a single string.
 *
 * @param dictionary A dictionary with string values.
 * @return A single string of concatenated values.
 *
 * Example:
 * val testDict = mapOf("name" to "John", "age" to "30", "country" to "USA")
 * concatenateValues(testDict) // Output: "John30USA"
 */
fun concatenateValues(dictionary: Map<String, Any>): String {

    var result = ""

    for (value in dictionary.values) {
        if (value is String) {
            result += value
        }
    }

    return result
}
/**
 * Given a dictionary, loop through its keys and concatenate all the values into a single string.
 *
 * @param dictionary A dictionary with string values.
 * @return A single string of concatenated values.
 *
 * Example:
 * val testDict = mapOf("name" to "John", "age" to "30", "country" to "USA")
 * concatenateValues(testDict) // Output: "John30USA"
 */
fun concatenateValues(dictionary: Map<String, Any>): String {
/**
 * Given a dictionary, loop through its keys and concatenate all the values into a single string.
 *
 * @param dictionary A dictionary with string values.
 * @return A single string of concatenated values.
 *
 * Example:
 * val testDict = mapOf("name" to "John", "age" to "30", "country" to "USA")
 * concatenateValues(testDict) // Output: "John30USA"
 */
fun concatenateValues(dictionary: Map<String, Any>): String {

    var result = ""

    for (value in dictionary.values) {
        if (value is String) {
            result += value
        }
    }

    return result
}