/**
 * This function takes a list of articles as input and prints the titles of articles with keywords in them.
 */
fun printArticles(articles: List<Map<String, String>>) {

    val keywords = listOf("politics", "corruption", "scandal")

    // Iterate over each article in the list
    for (article in articles) {
        // Check if any keyword exists in the article title
        if (keywords.any { keyword -> keyword in article["title"]?.toLowerCase() ?: "" }) {
            // Print the title of the article
            println(article["title"])
        }
    }
}
/**
 * This function takes a list of articles as input and prints the titles of articles with keywords in them.
 */
fun printArticles(articles: List<Map<String, String>>) {
/**
 * This function takes a list of articles as input and prints the titles of articles with keywords in them.
 */
fun printArticles(articles: List<Map<String, String>>) {

    val keywords = listOf("politics", "corruption", "scandal")

    // Iterate over each article in the list
    for (article in articles) {
        // Check if any keyword exists in the article title
        if (keywords.any { keyword -> keyword in article["title"]?.toLowerCase() ?: "" }) {
            // Print the title of the article
            println(article["title"])
        }
    }
}