View difference between Paste ID: yEQVrpUM and KsD5Qyb0
SHOW: | | - or go back to the newest paste.
1
// map in kolin
2
fun main() {
3
val z = mapOf("a" to 1,"b" to 2 ) // means a=1 where a is key and 1 is value
4
  for ((x,y) in  z){ //
5
    println("$x,$y")
6
  }
7
}
8
9
10
11