kotlin fun main() { val numbers = listOf(1, 2, 3, 4, 5) val doubledNumbers = numbers.map { it * 2 } doubledNumbers.forEach { println(it) } }