Multiplication in Swift

Level 112 keystrokes

Multiplies 7 by 6 with the * operator and prints the result, 42.

Swift code

// * is the multiplication operator: 7 * 6 = 42
1print(7 * 6)

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 Swift code and how often they appear.

  • (× 1
  • )× 1
  • *× 1

More Swift examples at level 1

← Swift typing practice