Kotlin Koans

Kotlin Koans are a series of exercises to get you familiar with the Kotlin Syntax. Each exercise is created as a failing unit test and your job is to make it pass. You can work with Kotlin Koans in one of following two ways:

  1. You can play with Koans online.

  2. You can perform the tasks right inside IntelliJ IDEA or Android Studio by installing the EduTools plugin and choosing Kotlin Koans course.

Whatever way you choose to solve koans, you can see the solution for each task: in the online version click on "Show answer", inside EduTools plugin choose "Peek solution". We recommend checking the solution after you implement the task to compare your solution with the proposed one. Make sure you don't cheat!

Last modified: 23 June 2021

© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/docs/koans.html