/**
 * This function takes a dictionary and the number of repetitions as input,
 * and returns a new dictionary where the values are repeated the specified
 * number of times.
 *
 * @param dictionary Input dictionary
 * @param numRepetitions Number of times the values need to be repeated
 * @return Dictionary with repeated values
 */
fun repeatDictionaryValues(dictionary: Map<String, Any>, numRepetitions: Int): Map<String, List<Any>> {

    val repeatedDict = mutableMapOf<String, List<Any>>()

    // Repeat the values in the dictionary the specified number of times
    for ((key, value) in dictionary) {
        repeatedDict[key] = List(numRepetitions) { value }
    }

    return repeatedDict
}
/**
 * This function takes a dictionary and the number of repetitions as input,
 * and returns a new dictionary where the values are repeated the specified
 * number of times.
 *
 * @param dictionary Input dictionary
 * @param numRepetitions Number of times the values need to be repeated
 * @return Dictionary with repeated values
 */
fun repeatDictionaryValues(dictionary: Map<String, Any>, numRepetitions: Int): Map<String, List<Any>> {
/**
 * This function takes a dictionary and the number of repetitions as input,
 * and returns a new dictionary where the values are repeated the specified
 * number of times.
 *
 * @param dictionary Input dictionary
 * @param numRepetitions Number of times the values need to be repeated
 * @return Dictionary with repeated values
 */
fun repeatDictionaryValues(dictionary: Map<String, Any>, numRepetitions: Int): Map<String, List<Any>> {

    val repeatedDict = mutableMapOf<String, List<Any>>()

    // Repeat the values in the dictionary the specified number of times
    for ((key, value) in dictionary) {
        repeatedDict[key] = List(numRepetitions) { value }
    }

    return repeatedDict
}