(0..10).flatMap { x -> (0..10).map { y -> x * y } }
The flow of the data is more intuitive for me because you don't use variables before they're defined.> Especially the yield keyword, such a wonderful way to write your own iterators.
Maybe I'm missing something about `yield` in Python—can it do something that Kotlin generators can't?