Boolean Output in Kotlin

Level 113 keystrokes

Prints the boolean value true to the console.

Kotlin code

// true is a Boolean literal; println prints true
1println(true)

Output

true
Practice typing this code

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

More Kotlin examples at level 1

← Kotlin typing practice