W3cubDocs

/Kotlin

Kotlin Koans

Author Svetlana Isakova
This tutorial walks you through a series of exercises to get familiar with Kotlin.

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 solve 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!

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