Back
Close

Kotlin Starter Pack

romainbsl
28.8K views

Ranges

Kotlin provide a way to deal with value ranges, so you might be able to simply create and manipulate ranges effortlessly.

Control if a value belong or not to a range of elements.

Iteration over ranges

Reverse iteration over ranges

Iterating over ranges ... step by step

Range with exclusion

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants