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.
Cant figure out what I'm doing wrong here.
Need help figuring out what I am doing wrong here.
// Enter your code below let firstValue = 3 let secondValue = 7 let product = firstValue * secondValue let output = "The product of \(firstValue) times \(secondValue) is \(product)"
Jennifer NordellTreehouse Teacher
Hi there! You're either going to love or hate this answer, but you're doing great! Challenges can be extremely strict especially when looking at strings. Generally speaking, they have to match to the letter. This includes spelling, punctuation, capitalization, and even spacing. The reason your code isn't passing is because you have an extra space. Seriously. That's the only thing "incorrect".
You have one too many spaces between the interpolation of
secondValue and the word "is". Remove one space there, and your code passes with flying colors!
Kapil Soni2,612 Points
such strictness is actually wasting a lot of time for users who want to resolve the problem themselves rather looking for a solution.