/**
 * Given a list of tuples containing journalist names and articles,
 * execute a nested loop to print each journalist's name and article.
 *
 * @param journalistNamesAndArticles A list of tuples containing journalist names and articles.
 */
fun executeNestedLoops(journalistNamesAndArticles: List<Pair<String, String>>) {

    // Iterate over each tuple in the list
    for ((journalistName, article) in journalistNamesAndArticles) {
        // Print the journalist's name and article
        println("Journalist: $journalistName")
        println("Article: $article")
    }
}
/**
 * Given a list of tuples containing journalist names and articles,
 * execute a nested loop to print each journalist's name and article.
 *
 * @param journalistNamesAndArticles A list of tuples containing journalist names and articles.
 */
fun executeNestedLoops(journalistNamesAndArticles: List<Pair<String, String>>) {
/**
 * Given a list of tuples containing journalist names and articles,
 * execute a nested loop to print each journalist's name and article.
 *
 * @param journalistNamesAndArticles A list of tuples containing journalist names and articles.
 */
fun executeNestedLoops(journalistNamesAndArticles: List<Pair<String, String>>) {

    // Iterate over each tuple in the list
    for ((journalistName, article) in journalistNamesAndArticles) {
        // Print the journalist's name and article
        println("Journalist: $journalistName")
        println("Article: $article")
    }
}