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 trialCollin Argo
5,191 PointsIs this challenge broken?
This code works in playground. Why can I not complete the challenge?
let numbers = [10,423,802,765,943,12,405,230,1348,128,237]
let oddNumbers = numbers.filter { $0 % 2 != 0 }
1 Answer
Collin Argo
5,191 PointsLooks like the constant should actually be named oddValues, despite the error message stating to make sure you're assigning the results of the filter operation to a constant named oddNumbers.