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

John Moron
John Moron
1,658 Points

Given 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.

println.swift
let language = "Swift"
println ("Learning \ (learning) ")

2 Answers

It'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
John Moron
1,658 Points

oh thanks David for your help I figured it out.

No problem