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 trialAndre LaMothe
Courses Plus Student 1,771 PointsInterpolation Challenge: Wrong here, correct in real world
Why was my answer to the Interpolation Challenge marked incorrect here, but works fine in Xcode?
let language = "Swift"
println("Learning \(language)")
3 Answers
kjvswift93
13,515 PointsI just successfully completed the challenge myself again using the below code:
let language = "Swift"
println("Learning \(language)")
Not sure what is going on because you have the correct answer.
J.D. Sandifer
18,813 PointsI recommend looking closely at the error message when your code is marked wrong on here. They're usually pretty helpful.
Also, try typing out the code rather than copying it from another program - like from an Xcode playground - if that's what you're doing.
Andre LaMothe
Courses Plus Student 1,771 PointsThanks for your help guys!