/**
 * This function simulates completing a task by updating its status.
 */
fun completeTask(task: MutableMap<String, String>) {

    task["status"] = "completed"
    println("Task ${task["id"]} is completed.")
}
/**
 * This function simulates completing a task by updating its status.
 */
fun completeTask(task: MutableMap<String, String>) {
/**
 * This function simulates completing a task by updating its status.
 */
fun completeTask(task: MutableMap<String, String>) {

    task["status"] = "completed"
    println("Task ${task["id"]} is completed.")
}