Lesson 14 of 19 · +120 xp

When

Like switch.

Explained simply

Your task

Write: when (x) { 0 -> "zero"; else -> "other" }

when.kotlin
← Back