Integer Output in Swift
Level 19 keystrokes
Prints the integer 42 to the console.
Swift code
// The literal 42 is an Int; print shows it as text: 421print(42)Output
42
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this Swift code and how often they appear.
(× 1)× 1