Question 1/6: Which code creates an integer?
Hint: Swift gives variables the string type when their values are enclosed in quotes, regardless of what the value is. Click to show.
var mortgageRemaining = 100_000
This creates an integer called
var dogBreed = "samoyed"
This creates a string.
Oops – that's not correct.
Link copied to your pasteboard.