String Concatenation in Swift
Level 130 keystrokes
Joins three strings with the + operator and prints "Hello World".
Swift code
// + joins strings; the " " in the middle adds the space: Hello World1print("Hello" + " " + "World")Output
Hello World
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.
"× 6+× 2(× 1)× 1