How can I consume a collection with `take`, that i...
# getting-started
h
How can I consume a collection with
take
, that is to make sure that the following example would print “4,5,6”:
Copy code
sequenceOf(1, 2, 3, 4, 5, 6, 7).run{
     take(3)
     take(3).also{print("${it.joinToString()}")}
}
?