Welcome to the Treehouse Community
Looking to learn something new?
I thought I had the right format, but I'm not sure if I misinterpreted the question. Can someone clarify?
Can't seem to code it correctly. Thanks in advance!
// Enter your code below let named = "Frank" let greeting = "Hi there" let interpolatedGreeting = "\(greeting), \(named)"
Tobias Helmrich31,601 Points
when I see your code I guess you're in the first task, right? If so, there are a few problems in your code, but you were on the right track! Firstly take care that you name your constants like the challenge asks you in the description, so please change the constant named to name. After that you should save the greeting in the constant greeting and also interpolate your name there and not in a separate constant.
To do that you can write it like that:
// Enter your code below let name = "Frank" let greeting = "Hi there, \(name)."
Also note that you need a period in the end so please don't forget it. I hope that helps, good luck! :)
Piotr Kuniniec10,723 Points
Hi, I think that u have to do add name to greeting:
let name = "Piotr" let greeting = "Hi there, (name)”
like that ;)