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 trialBrian Patterson
19,588 PointsNot sure why this isn't working?
'numbers = []
number = 0 loop do numbers += (23,44,54) end' Not sure why this isn't working
numbers = []
number = 0
loop do
numbers += (23,44,54)
break
end
# write your loop here
2 Answers
Alistair Mackay
7,812 PointsI got stuck with this one as well, this post showed me where I was going wrong -
https://teamtreehouse.com/community/loops-14
Hope this helps.
-PC
Jacob Bergdahl
29,119 PointsThere are a few things wrong with the code. Rather than giving you the answer, I would really recommend you to watch the video before the challenge again to make sure that you fully understand what's going on.