February 2018
Intermediate to advanced
356 pages
9h 10m
English
We also can use the until keyword in for loops, in this case, the end element will be excluded from the interaction. Let's see an example:
for (i in 1 until 5) { println(i)}
In this case, the 5 value will not be printed on the console, because the end element is not included in the interaction.