The Kotlin Standard Library also provides numerous useful functions to iteratively work upon collections.
For example, the map function can be used to transform a list of items.
val numbers = listOf(1, 2, 3, 4, 5, 6, 7, 8, 9, 0)
val numberStrings = numbers.map { "Number $it" }
One of...