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 trialNoah Muhammad
Courses Plus Student 641 Pointslast line of code interpolated still not working
Please help
// Enter your code below
let firstValue : Int = 10
let secondValue : Int = 8
let product : Int = firstValue * secondValue
let output /*interpolatedOutput*/ : String = "The product of \(firstValue) times \(secondValue) is \(product)."
2 Answers
Helmut Granda
10,343 PointsCan you elaborate on "not working"?
I tried the code you have on the page and it worked. The only thing that I noticed is the extra period at the end of your output.
Noah Muhammad
Courses Plus Student 641 PointsThank you Jen, It finally worked after re-doing the whole challenge
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherThat is truly odd. I see no errors and if I copy paste your code into the challenge, it passes both steps! My suggestion: copy/paste what you have posted above and restart the challenge and paste it in. It should pass.