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 trialali raafat
444 Pointsmy code didn't work well
it gave me the "better than nothing " but if i run it and wrote 20 it will give me"way to go hot stuff" if i added 30 so it will be 50 but i will give me "way to go hot stuff". plz help here is my snapshot: https://w.trhou.se/x94u5oaapx
1 Answer
Steven Parker
231,248 PointsYour program appears to be working correctly.
Remember that the feedback is for each entry, not for the total. So it will say "better than nothing..." for any entry up to 10. And it will say "way to go hot stuff" for any entry more than 10, but not more than 30. This would include both 20 and 30.