iOS Swift Basics Swift Types String Manipulation

Blake Delle Fave
Blake Delle Fave
Pro Student 108 Points

I can't understand how my interpolated greeting is wrong.

I am trying to input a string literal into an interpolated line of code, but the compiler keeps telling me that I can't interpret an interpolation the way that I wrote the code.

interpolatedGreeting = "(Hi there) , (Linda)"

What am I missing?

// Enter your code below

let name = "BlakeDelleFave"

let greeting = "hi there" + "name"

let interpolatedGreeting = "\(Greeting) , \(Linda)"

1 Answer