Welcome to the Treehouse Community
Looking to learn something new?
Andrew Koslov2,045 Points
String Manipulation Challenge
I have been getting a message that says that Task One is wrong after inputing the finalGreeting concatenation. I am not sure if there is a glitch or I am off base, but previous question answers have the code formatted the same way.
// Enter your code below let name = "koz" let greeting = "Hi there,\(name)." let finalGreeting = greeting + " How are you?"
You have removed the space between the comma and the name in the
greeting string which you wrote in task 1. That is why you are being told your code no longer passes task 1.
I assume you did that accidentally while working on task 2, if you add it back in like this:
let name = "koz" let greeting = "Hi there, \(name)." // Added a space let finalGreeting = greeting + " How are you?"
Then your code will be accepted.