/**
 * This exercise requires creating a tuple using parentheses and understanding booleans in Kotlin.
 * Given the musician's name, instrument, and age, create a tuple containing this information and determine if the musician is older than 18.
 * Return the tuple and a boolean value indicating if the musician is older than 18.
 */
fun createTupleAndBoolean(musicianName: String, musicianInstrument: String, musicianAge: Int): Pair<Triple<String, String, Int>, Boolean> {

    // Create a triple with the musician's name, instrument, and age
    val musicianInfo = Triple(musicianName, musicianInstrument, musicianAge)

    // Check if the musician's age is greater than 18 using boolean comparison
    val isOlderThan18 = musicianAge > 18

    return Pair(musicianInfo, isOlderThan18)
}
/**
 * This exercise requires creating a tuple using parentheses and understanding booleans in Kotlin.
 * Given the musician's name, instrument, and age, create a tuple containing this information and determine if the musician is older than 18.
 * Return the tuple and a boolean value indicating if the musician is older than 18.
 */
fun createTupleAndBoolean(musicianName: String, musicianInstrument: String, musicianAge: Int): Pair<Triple<String, String, Int>, Boolean> {
/**
 * This exercise requires creating a tuple using parentheses and understanding booleans in Kotlin.
 * Given the musician's name, instrument, and age, create a tuple containing this information and determine if the musician is older than 18.
 * Return the tuple and a boolean value indicating if the musician is older than 18.
 */
fun createTupleAndBoolean(musicianName: String, musicianInstrument: String, musicianAge: Int): Pair<Triple<String, String, Int>, Boolean> {

    // Create a triple with the musician's name, instrument, and age
    val musicianInfo = Triple(musicianName, musicianInstrument, musicianAge)

    // Check if the musician's age is greater than 18 using boolean comparison
    val isOlderThan18 = musicianAge > 18

    return Pair(musicianInfo, isOlderThan18)
}