Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ben Brumfield
449 PointsGiven the constant named language, write a println statement which will print the following string: "Learning Swift".
Help?
let language = "Swift"
println("Learning \(Language)")
2 Answers

Michael Hulet
47,881 PointsYou're really close, but just use a lowercase "l" in "language" in the 2nd line

Silviu B.
3,111 PointsYou might be using a newer version of Swift. And println is now just print. See below.
let language = "Swift"
print("Learning \(language)")

Michael Hulet
47,881 PointsI don't believe this would help. The older Swift courses still use Swift 1.2, which used println
(it wasn't changed to print
until Swift 2). That being said, you are right that it was changed, and OP (and everyone else) should take the newer Swift course, instead
Ben Brumfield
449 PointsBen Brumfield
449 PointsEven when I use lowercase it still does not want to accept it.
Michael Hulet
47,881 PointsMichael Hulet
47,881 PointsCould you paste the line you're writing here, so I can see exactly what you're trying?