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 trial

Ruby Ruby Operators and Control Structures Logical Operators The And (&&) Operator

brad humphrey
brad humphrey
2,454 Points

After two hours of failing on an exercise... I don't feel like being referred to a forum. I want to see the solution. ?

After two hours of failing on an exercise... I don't feel like being referred to a forum. I want to see the solution ? That is how I learn best.

Do you or do you not have pages where I can see the solutions to the challenges when I cant figure it out because I simply dont' get it or... when the lesson was UNCLEAR.

If you do not have a "solutions page" (like almost every text book in America) ... might I suggest you start providing your very frustrated customers with one.

Likely after the end of this month I will end my subscription to Teamtreehouse and look for another online code school where I have that capability.

Not providing the solutions after a reasonable effort is a colossal waste of time for me. But what do I know? I am only a Professor of Psychology at University and ... I am "just" a very frustrated customer.

DO NOT REFER ME TO "THE FORUM" ... IF YOU ARE GOING TO DO THAT... DON'T EVEN BOTHER ANSWERING.

ruby.rb
def check_speed(car_speed)
  # write your code here

end

4 Answers

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

Well, this is the forum and it's only inhabited by students and moderators (who are also just students, but help more). We can't really make changes to the site. Support is the right place to contact about suggestions such as this. But, back to your solution, this is how I would do it:

return "safe" if car_speed >= 40 && car_speed <= 50

Let me know if you need any further explanation.

brad humphrey
brad humphrey
2,454 Points

Maciej.

Sorry, I just got very frustrated and was venting. I did send my frustration to Support.

Thank you for your time and solution.

Frustrated in Tennessee, Brad

Jamie Barton
Jamie Barton
14,498 Points

brad humphrey I see your frustration and been there myself many times before.

I do however believe if Treehouse started dishing out the solutions to the challenges then I think we would find it much easier to click "Get Solution" instead of putting a few more minutes or hours into working out the solution & understanding why.

It might be worth adding this feature it removes points from your profile if you do click "Get solution".

Kevin Tinkler
Kevin Tinkler
2,416 Points

Hi Brad,

A sometimes useful approach I've used to find a solution is to 'google' for it. In this case, if you google for "def check_speed(car_speed)", you will get a lot of links back to this forum where this challenge has been solved in the answers (like Maciej did above).

Another technique which I sometime use when stuck on a particular coding challenge is to walk away from the keyboard for a few minutes. Often the answer I'm looking for will just occur to me out of the blue when I do this.

  • Kevin