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 trialJohn Moron
1,658 PointsGiven the constant named language, write a println statement which will print the following string: "Learning Swift".
I Put the interpretation but says it's wrong.
let language = "Swift"
println ("Learning \ (learning) ")
2 Answers
David Tonge
Courses Plus Student 45,640 PointsIt's a simple mistake. You're confusing the "language" with "learning." Remember your constant name. Here's your code:
let language = "Swift"
println ("Learning \ (learning) ")
Here's some updated code:
let language = "Swift"
println ("Learning \(language) ")
John Moron
1,658 Pointsoh thanks David for your help I figured it out.
David Tonge
Courses Plus Student 45,640 PointsNo problem