https://kotlinlang.org logo
a

Alan Evans

12/10/2018, 9:42 PM
I would do this:
Copy code
sequenceOf(1 to "A", 1 to "B").toMap().forEach{
        println(it)
    }