/**
 * This exercise requires to create a therapy schedule for a physical therapist by using list comprehension and repetition.
 *
 * @param names A list of patient names.
 * @param repetitions The number of times each therapy session should be repeated.
 * @return A schedule consisting of therapy sessions for each patient according to the given repetitions.
 */
fun createTherapySchedule(names: List<String>, repetitions: Int): List<List<String>> {

    // Create the therapy schedule using list comprehension with repetition
    return names.map { name -> List(repetitions) { "Therapy" } }
}
/**
 * This exercise requires to create a therapy schedule for a physical therapist by using list comprehension and repetition.
 *
 * @param names A list of patient names.
 * @param repetitions The number of times each therapy session should be repeated.
 * @return A schedule consisting of therapy sessions for each patient according to the given repetitions.
 */
fun createTherapySchedule(names: List<String>, repetitions: Int): List<List<String>> {
/**
 * This exercise requires to create a therapy schedule for a physical therapist by using list comprehension and repetition.
 *
 * @param names A list of patient names.
 * @param repetitions The number of times each therapy session should be repeated.
 * @return A schedule consisting of therapy sessions for each patient according to the given repetitions.
 */
fun createTherapySchedule(names: List<String>, repetitions: Int): List<List<String>> {

    // Create the therapy schedule using list comprehension with repetition
    return names.map { name -> List(repetitions) { "Therapy" } }
}