printing a map in kotlin code example Example: printing a map in kotlin for ((key, value) in map) { println("$key = $value") }