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.

faisalrustom
1,300 PointsThe answer for the second objective(if you needs it)
var results: [Int] = []
for multiplier in results {
print("the multiple is \(multiplier) times 6, which equal to \(multiplier*6)"
results.append(multiplier*6)
}
1 Answer

Alia Khan
3,733 PointsHi could you please explain why thats the answer I struggled on the 2nd objective and have used this to get past the challenge but would like to actually understand it
Thank you Alia
Christian A. Castro
30,501 PointsChristian A. Castro
30,501 PointsHi !! faisal rustom I think you miss something on your answer for the second objective, your code should look like this
you just miss the range on the for loop!! thanks, Amaury.