Integer Output in Kotlin

Level 111 keystrokes

Prints the integer 42 to the console.

Kotlin code

// The literal 42 is an Int; println prints 42
1println(42)

Output

42
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