Swift: how to declare constants?

Example:

var name = "John"
Swift allows you to declare constants for values that won't change.

Solution:

let name = "John"

Beginner's Guide to Swift