iOS Swift Basics Swift Types Recap: Swift Types

Harsh Pareek
Harsh Pareek
Pro Student 489 Points

What is the difference between my code and the given example ??

I am not able to identify the difference between the given example and my code output.

// Enter your code below
let firstValue = 2
let secondValue = 4
let product = firstValue * secondValue
let output = " The product of \(firstValue) times \(secondValue) is \(product)" 

1 Answer

Remove the space before The

let output = " The product

should be

let output = "The product