/**
 * This function takes a list of musical notes and a tempo value and plays the song.
 * Each note is played in the duration specified by the tempo.
 *
 * @param notes A list of musical notes to be played.
 * @param tempo The duration in seconds for each note.
 */
fun playSong(notes: List<String>, tempo: Double) {

    var i = 0
    while (i < notes.size) {
        val note = notes[i]
        println("Playing note: $note")
        // Additional code to play the note
        i++
    }
}
/**
 * This function takes a list of musical notes and a tempo value and plays the song.
 * Each note is played in the duration specified by the tempo.
 *
 * @param notes A list of musical notes to be played.
 * @param tempo The duration in seconds for each note.
 */
fun playSong(notes: List<String>, tempo: Double) {
/**
 * This function takes a list of musical notes and a tempo value and plays the song.
 * Each note is played in the duration specified by the tempo.
 *
 * @param notes A list of musical notes to be played.
 * @param tempo The duration in seconds for each note.
 */
fun playSong(notes: List<String>, tempo: Double) {

    var i = 0
    while (i < notes.size) {
        val note = notes[i]
        println("Playing note: $note")
        // Additional code to play the note
        i++
    }
}