iOS Swift Basics Swift Types Recap: Swift Types

Harsh Pareek
PRO
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.

types.swift
// 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

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 49,791 Points

Remove the space before The

let output = " The product

should be

let output = "The product