iOS Swift Basics Swift Types String Manipulation

Abdullah Tharwat
PRO
Abdullah Tharwat
Pro Student 192 Points

Error in the rechecking !!

i think I solved the question right , but every recheck says otherwise ..

strings.swift
// Enter your code below

let name = "Abdullah"

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

Here is the solution. Check if this works for you let name = "Abdullah"

let greeting = "Hi there, (name)"

1 Answer

Abdullah Tharwat
PRO
Abdullah Tharwat
Pro Student 192 Points

It says Bummer “ make sure the value you are assigning is an interpolated string “

let name = "Abdullah"

let greeting = "Hi there, (name)"