Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBrad McCallum
628 PointsCould you provide an example of how this task would look complete.
i have the constant named language and create a variable called greeting (var edu = "learning") than try to write the println by interpolating println(language) \ (edu) and get errors every time i feel as though im missing something but not sure what
let language = "Swift"
3 Answers
David Fry
13,267 PointsBrad, I think you are trying to do is this(see code below). What I see right off the bat is you are missing the quote marks (") on either side.
let language = "swift"
let edu = "learning"
println("\(language) \(edu)")
Brad McCallum
628 PointsThank you if had the quotations earlier when trying to complete the task it keeps saying to make sure I interpolate the constant which as you showed I believe is done
Newton Robert
4,180 Pointslet language = "Swift" let str = "learning " println ("(str) (language) ")