/**
 * This function takes a list of categories and a list of articles
 * and prints the headlines for each combination of category and article.
 *
 * @param categories a list of categories (String)
 * @param articles a list of articles (String)
 */
fun printNewspaperHeadlines(categories: List<String>, articles: List<String>) {

    // Nested for loop to print the headlines
    for (category in categories) {
        for (article in articles) {
            // Code to print the headline
            println("$category: $article")
        }
    }
}

// Code to test the function
/**
 * This function takes a list of categories and a list of articles
 * and prints the headlines for each combination of category and article.
 *
 * @param categories a list of categories (String)
 * @param articles a list of articles (String)
 */
fun printNewspaperHeadlines(categories: List<String>, articles: List<String>) {
/**
 * This function takes a list of categories and a list of articles
 * and prints the headlines for each combination of category and article.
 *
 * @param categories a list of categories (String)
 * @param articles a list of articles (String)
 */
fun printNewspaperHeadlines(categories: List<String>, articles: List<String>) {

    // Nested for loop to print the headlines
    for (category in categories) {
        for (article in articles) {
            // Code to print the headline
            println("$category: $article")
        }
    }
}

// Code to test the function