Kotlin theorytheory 0/50 · 0%
Fundamentals · easy

11. Ranges and Loops

Iterating with ranges.

Kotlin provides 'rangeTo', 'until', 'downTo', and 'step' for creating ranges.

Check your understanding

  1. 1. 1..5 includes 5?

  2. 2. Keyword for exclusive end?