/**
 * This exercise is about creating a tuple using parentheses and deleting elements.
 * The goal is to create a tuple that represents a musician and then delete some elements from it.
 *
 * @param musicianName The name of the musician.
 * @param genre The genre of music the musician plays.
 * @param albums The number of albums the musician has released.
 * @param songs The number of songs the musician has composed.
 * @return The modified musician tuple after deletion.
 */
fun createDeletedTuple(musicianName: String, genre: String, albums: Int, songs: Int): List<Any> {

    // Create the musician tuple
    val musician = listOf(musicianName, genre, albums, songs)

    // Print the original tuple
    println("Original Musician Tuple:")
    println(musician)

    // Delete elements from the tuple
    val modifiedMusician = musician.toMutableList()
    modifiedMusician.removeAt(0) // Delete the musician's name
    modifiedMusician.removeAt(2) // Delete the number of albums

    // Print the modified tuple
    println("\nModified Musician Tuple:")
    println(modifiedMusician)

    return modifiedMusician
}
/**
 * This exercise is about creating a tuple using parentheses and deleting elements.
 * The goal is to create a tuple that represents a musician and then delete some elements from it.
 *
 * @param musicianName The name of the musician.
 * @param genre The genre of music the musician plays.
 * @param albums The number of albums the musician has released.
 * @param songs The number of songs the musician has composed.
 * @return The modified musician tuple after deletion.
 */
fun createDeletedTuple(musicianName: String, genre: String, albums: Int, songs: Int): List<Any> {
/**
 * This exercise is about creating a tuple using parentheses and deleting elements.
 * The goal is to create a tuple that represents a musician and then delete some elements from it.
 *
 * @param musicianName The name of the musician.
 * @param genre The genre of music the musician plays.
 * @param albums The number of albums the musician has released.
 * @param songs The number of songs the musician has composed.
 * @return The modified musician tuple after deletion.
 */
fun createDeletedTuple(musicianName: String, genre: String, albums: Int, songs: Int): List<Any> {

    // Create the musician tuple
    val musician = listOf(musicianName, genre, albums, songs)

    // Print the original tuple
    println("Original Musician Tuple:")
    println(musician)

    // Delete elements from the tuple
    val modifiedMusician = musician.toMutableList()
    modifiedMusician.removeAt(0) // Delete the musician's name
    modifiedMusician.removeAt(2) // Delete the number of albums

    // Print the modified tuple
    println("\nModified Musician Tuple:")
    println(modifiedMusician)

    return modifiedMusician
}