Contact: aviboots(AT)netvision.net.il
39,907 questions
51,839 answers
573 users
fun main() { val mp = mapOf("Red" to 30, "Green" to 57, "Blue" to 86, "Yellow" to 102) val doubledValuesList = mp.values.map { it * 2 } // Print each value separately doubledValuesList.forEach { println(it) } } /* run: 60 114 172 204 */