Learn about how to use control flow - if-else, when in this tutorial as both of them are extensively used while programming.
Kotlin "when" is a replacement for the "switch-case" of java where it offers lots of great capabilities over "switch-case" to know more about them watch out this video till the end.
Here is the link for the Kotlin tutorial 1
• Kotlin Tutorial - Syntax, Functions, ...