Contact: aviboots(AT)netvision.net.il
39,907 questions
51,839 answers
573 users
fun main() { val map = mapOf("Red" to 30, "Green" to 57, "Blue" to 86, "Yellow" to 102) // Convert values to a List val list: List<Int> = map.values.toList() // Print each value separately list.forEach { println(it) } } /* run: 30 57 86 102 */