Subtraction in Kotlin
Level 115 keystrokes
Prints the result of subtracting 4 from 10.
Kotlin code
// 10 - 4 is evaluated first, so println prints 61println(10 - 4)Output
6
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this Kotlin code and how often they appear.
-× 1(× 1)× 1