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

Brenner Haverlock
Brenner Haverlock
478 Points

HELP Says it's wrong but it's right?

You printed "Learning Swift", but you were supposed to print "Learning Swift".

How do I put a period after it??

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

2 Answers

There are two spaces after Learning in println("Learning . Can you remove one space and try again.

Good Luck

Great!

Do you mean this:

let language = "Swift" println("Learning (language).")

Brenner Haverlock
Brenner Haverlock
478 Points

No that does not work. I think it's bugged on their side because the period should be inside the string not outside (which is what they want) .