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 trialJoseph Perl
877 PointsHelp with Challenge Question. Swift If Statements.
Hello. I can't get my code to work. Please help.
Thanks
var results: [Int] = []
for n in 1...100 {
if n !a even && n%7 == int {
result.append(n)
}
}
3 Answers
Alphonso Sensley II
8,514 PointsHi Joseph, I believe the answer to your question can be found in this thread. https://teamtreehouse.com/community/i-have-no-idea-what-i-am-supposed-to-do-in-this-code-challenge
Alphonso Sensley II
8,514 PointsYou can type in parts of the challenge question in the search bar. That will usually get you close to what you need help with.
Joseph Perl
877 PointsThank you Alphonso. I'll try that.
Joseph Perl
877 PointsJoseph Perl
877 PointsThank you very much Alphonso! I got the code to work.
Is there a way that I can search for forum topics and questions based on the video or challenge question that I'm watching?