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!
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

Omotayo Olawepo
2,803 Points'hey guys i'm really having problems with string interpolation. here is my code i have no idea what i.m doing wrong .
for item in 1...14{ println("(number)times 7 is(number*7)" }
1 Answer

Steve Hunter
57,712 PointsHi there,
You need a backslash prior to each opening bracket.
for item in 1...14{
println("\(number) times 7 is \(number*7)"
}
That should work for you.
Steve.