
Julian Addison
2,281 PointsWhy won't this code pass the test?
I don't understand what is going on here. I've run the code in Xcode and it doesn't give me any problems and has the correct output. Am I missing something?
// Enter your code below
let name = "Julian"
let greeting = "Hi there, \(name)"
let finalGreeting = "\(greeting). How are you?"
1 Answer

Brendan Whiting
Front End Web Development Treehouse Moderator 82,123 PointsTo build up finalGreeting
, they want you to use concatenation instead of interpolation. It will produce the same result, but they just want to make sure you have both tools at your disposal.
Julian Addison
2,281 PointsJulian Addison
2,281 PointsThanks! Should have read the prompt better, makes sense.