iOS Swift Basics Swift Types String Manipulation

Sung Na
Sung Na
344 Points

String Interpolate Quiz

Hi,

Could you tell me what is wrong with my string interpolate code?

It seems I've double checked my code for any misspellings or syntax errors but I feel it's the complier's problem.

Thanks,

strings.swift
// Enter your code below

let name = "Sung"

let greeting = ("Hi there, \(name)")

1 Answer

Sung Na
Sung Na
344 Points

nevermind, figured it out. in this case, the syntax doesn't allow braces so by removing them the compiler finally approve this code.