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 trialNick Mulvaine
748 PointsI entered the same code in Xcode without and issue. I am not sure what I did wrong.
I put the exact same lines into Xcode and had no issue printing language with the value of Learning Swift assigned to it
let language = "Learning Swift"
println(language)
Charles Zhang
2,032 Pointshmm, i dont see anything wrong with that
Charles Zhang
2,032 Pointshmm, i dont see anything wrong with that
Charles Zhang
2,032 Pointshmm, i dont see anything wrong with that
2 Answers
kjvswift93
13,515 PointsThe challenge's instructions are to use string interpolation using the given constant string "language" in order to print a new string.
let language = "Swift"
println("Learning \(language)")
Nick Mulvaine
748 PointsDuh!!! Thank you! Not my day it seems haha
Charles Zhang
2,032 PointsCharles Zhang
2,032 Pointshmm, i dont see anything wrong with that