how to print
print(“Hello, world!”)
//
are single line comments
/* and end with */
are multiline comments.
variables
var numberOfServingsForRecipe = 4
Bool
true, false
Character
a single letter, digit, symbol, or code
declaring integer
var numberOfWheels: Int = 4
first initial character type
var firstInitial: Character = “A”
can you change variables types
no
constant
fixed values
let encouragement =
“You can do it!”
\n
newline
replacing with values
var name = "Kate" var customizedBirthdayCheer = "Happy Birthday, \(name)!"