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 trial

iOS Swift Basics (retired) Types Printing Results

learning swift

what am i doing wrong here I've watched this three times and tried a bunch of different ways but it doesn't seem to work what am I not getting?

Andres Oliva
Andres Oliva
7,810 Points

Can you post your code?

i went on to next segment and ran into same thing. i do it just like the video and it fails it say the \n is the wrong code. I tried it with spaces without spaces. it tells me the words are wrong. It is crazy

Andres Oliva
Andres Oliva
7,810 Points

If you copy-paste your code or your console output, I may be a little more of help :)

1 Answer

Jeremy Hayden
Jeremy Hayden
1,740 Points

Without your code, or the lesson your on, we are just guessing.

But this question was generated from this quiz, so here is what it should look like:

let language = "Swift"
println ("Learning \(language)")
Jeremy Hayden
Jeremy Hayden
1,740 Points

Just remember the quiz is expecting EXACT answers. Misspelling a word, or adding an extra space will generate an error.