Introduction

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this lesson, you will delve into the notation of Kotlin’s ranges and their practical application in programming sequences. You will also explore the different kinds of loops, each with their unique characteristics. And learn how they can automate repetitive tasks. Lastly, you will get familiar with the break and continue statements in controlling the flow within these loops.

This lesson covers the following topics:

  • ranges and their notation
  • the concept and the purpose of the loop
  • for, do-while, and while loops and differences between them
  • break and continue statements Ready to start? Let’s go!
See forum comments
Download course materials from Github
Previous: Quiz: Leverage When Expressions Next: Instruction