/**
 * This function generates a list of dance moves based on the given dancer's name and the number of moves.
 *
 * @param dancerName The name of the dancer
 * @param moveCount The number of dance moves to generate
 * @return A list of dance moves
 */
fun danceMoves(dancerName: String, moveCount: Int): List<String> {

    val danceMoves = mutableListOf<String>()
    for (i in 0 until moveCount) {
        when {
            i % 2 == 0 -> danceMoves.add("$dancerName twirls")
            i % 3 == 0 -> danceMoves.add("$dancerName jumps")
            else -> danceMoves.add("$dancerName wiggles")
        }
    }
    return danceMoves
}
/**
 * This function generates a list of dance moves based on the given dancer's name and the number of moves.
 *
 * @param dancerName The name of the dancer
 * @param moveCount The number of dance moves to generate
 * @return A list of dance moves
 */
fun danceMoves(dancerName: String, moveCount: Int): List<String> {
/**
 * This function generates a list of dance moves based on the given dancer's name and the number of moves.
 *
 * @param dancerName The name of the dancer
 * @param moveCount The number of dance moves to generate
 * @return A list of dance moves
 */
fun danceMoves(dancerName: String, moveCount: Int): List<String> {

    val danceMoves = mutableListOf<String>()
    for (i in 0 until moveCount) {
        when {
            i % 2 == 0 -> danceMoves.add("$dancerName twirls")
            i % 3 == 0 -> danceMoves.add("$dancerName jumps")
            else -> danceMoves.add("$dancerName wiggles")
        }
    }
    return danceMoves
}