Kotlin - Collections Fundamentals
Identify the error in this Kotlin code snippet:
val map = mapOf("a" to 1, "b" to 2)
for (key, value in map) {
println(key + value)
}