Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // map in kolin
- fun main() {
- val z = mapOf("a" to 1,"b" to 2 ) // means a=1 where a is key and 1 is value
- for ((x,y) in z){ //
- println("$x,$y")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement