Welcome to the Treehouse Community
Looking to learn something new?
How to add a interpolated string? I have a question on interpolated string. I would like support for It. Thank you.
I am new to programming, and I am stuck on this challenge. I am currently doing Swift 3 Basics. It says to type an Interpolated String. Heres what I typed.
let name = "Groshvin"
let greeting = "Hi there,"
let nameGreeting = "(greeting) (name)"
The line below was my result-
"Hi there, Groshvin."
I hope you can assist me. Kind Regards, Groshvin Grover
// Enter your code below let name = "Groshvin" let greeting = "Hi there," let interpolatedString = "\(greeting) \(name)"
Jeff McDivitt23,970 Points
The task never asks for a constant interpolatedString
let name = "Jeff" let greeting = "Hi there, \(name)"