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 trialRayhan Miah
2,369 PointsWhats wrong with this code
I don't understand it
// Enter your code below
var results: [Int] = []
let multiplier = for number in 1...10
Harold Davis
Courses Plus Student 14,604 PointsHarold Davis
Courses Plus Student 14,604 Pointsyour super close but the when they say make a constant named multiplier they mean within the for in loop so question one is like this:
as for question two the want you to store the value of the multiplier * 6 and append value into the results array sounds more complex than it is:
good luck!