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

Python

Answers for the exercises?

Maybe its just me but I feel like there should be a way to see the correct code once I've tried to figure it out on my own more then 20 times? It's really frustrating to bang my head against something simple over and over knowing that if I could just be shown I would know how to do it. Am I just not finding the button or something?

Also, I can't seem to move on unless I get the correct answer. Meaning that if I can't figure it out. And there is no "show correct code" button, than thats it. Game over. Am I missing something?

That is very confusing part for me too. I had a piece code is correct but it keeping saying wrong and gives no hint at all. Audacity's course is much more user friendly than this.

Tom Maher
Tom Maher
1,529 Points

For what it's worth, this issue is precisely why I won't be subscribing to Treehouse past the 7 day trial. The inability to even see a model answer is incredibly frustrating.

22 Answers

Hi Ben!

There isn't any way, currently, to see challenge answers. If you ever need any help with challenges or quizzes then just make a thread here on the forums and we will do the best we can to help you out!

-Luke

Graham Bailey
Graham Bailey
2,144 Points

This is pretty ridiculous. Sometimes getting an answer helps you reverse engineer what you didn't understand in the first place. Not everyone wants to use the forums to get an answer here.

I agree, this is very frustrating when you can't see the answers and work on it and just be stuck in that one place not learning anything.

Iddo Rogovsky
PLUS
Iddo Rogovsky
Courses Plus Student 181 Points

Honestly, the thing that demotivated me to stop going on treehouse as much as I used to, is the fact that I was not able to figure out the answers for the challenge questions. If I get the answer wrong a certain amount of tries, the frustration just gets to you, we are humans. So, maybe if we can get a "Reveal answer" button, it wouldn't be so bad. People signed up for this website in order to learn, and become programmers, not to cheat.

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

We (the teachers) have been talking about how to best do a "give me a hint" feature for the code challenges for awhile now. It's obviously something we need, but it's a tricky problem to address so that it maximizes help but minimizes cheating.

CC Craig Dennis Dave McFarland Ryan Carson

I understand, but if I can't even move on without solving a challenge than it stops all progress. Thanks for working on something though. Also I just visited PDX Code Guild the other day to enroll, and they told me that you come by sometimes. Maybe I'll get a chance to thank you for your help in person soon enough. :-)

This isn't 3rd grade. The fear of 'cheating' doesn't really apply in this situation. After trying something 10 times, learning the correct answer is much more educational than skipping the problem altogether. Poor poor user experience.

Minimizes cheating huh... I don't know who comes here to cheat. I simply want an answer to my question without having to search for it in the forums. Please add a reveal answer button. You guys are teaching a coding course and can't code a reveal button... blows my mind.

Jonathan Wadsworth
Jonathan Wadsworth
20,196 Points

I agree. Sometimes the wording of the challenge is confusing, and without context, it seems impossible to figure out what I'm supposed to be solving/writing. Often, the challenge is based on previous challenges, but the code from the previous challenges is absent. This means, if the description is poor, that I either have to remember the other files we've worked on to get the context I need to solve the problem, or I have to leave the page and go back to the other challenges to see what I've done previously. Not only is this tedious. It's downright frustrating.

Better descriptions, better context, and perhaps hints about what kind of solution you're looking for might be in order. You could even use the average time people spent on each question (possibly combined with the average failed attempts) to see which questions are either worded poorly, or just plain confusing and require more context/help.

This sounds like a great exercise. Let's head over to workspaces and get this added in! ;)

Jennifer Esposito
Jennifer Esposito
2,473 Points

This has been talked about for years and they still haven't fixed it? I'm currently stuck on a challenge and just want to see what I'm doing wrong. I'd like to move on and keep going with the course, but I'm stuck here until I figure it out, and I've exhausted all my ideas. I'm worried I'm going to have to quit the program now.

Alysa Wakefield
Alysa Wakefield
689 Points

I agree, sometimes you just cant figure out their questions intent and an answer is the only way to know what they were after, its not that your coding is bad, sometimes reading the brief is just the confusing part

Cython Cython
Cython Cython
6,642 Points

dude we came here for knowledge, like who would pay and cheat through the courses....

Ruben WhyDoILoseFocus
Ruben WhyDoILoseFocus
688 Points

YES!!!!!! This would be great!!!!!!!!!! Ive been banging my head on my desk on the same problem for days now!!!!!!! Please make it available before I end subscription and go to audacity!!!! Never tried them hopefully it gets resolved.

Reagan Ganancial
Reagan Ganancial
9,476 Points

To be a honest, most all of the time i cheat! I would research all the answer on google then after answering it i feel the guilt. It's like.. If i'll always have to cheat would i'll be a coder someday. The reason why i cheat is like my experience in college days. Were in you dig in your head to solve those problems, yet in real jobs you might never encounter it. I'm working right now and i want to have a career change and i'm more focus what coding actual application not just a snippet of problem in each courses. The best possible way is to cheat!

I FIND THIS REALLY FRUSTRATING, BUT IT'S A CHALLENGE AND I GOT TO BE MORE AWARE OF THE EXPLANATION GIVEN IN THE VIDEOS. NOW, I HAVE A QUESTION IS THERE SOME PROBLEMS WE CAN WORK ON I FEEL IKE THE CHALLENGES ARE NOT HELPING ME THAT MUCH.

Same here! I´m at the point where I´m stuck at a challenge, and I just need to move on! The hints are not helping to solve this. And, in any case, I can´t understand why Treehouse can´t just provide an answer to the challenges or quizzes... Us (students) are not going to cheat, we are just trying to learn and be able to hind help (answers) when we get stuck. Asking the community doesn´t seem like a solution to me. I´m just stuck at 1 specific step of a challenge, and I´m not willing to wait until someone replies, in order to continue with my course...

Jonathan Walker
Jonathan Walker
4,240 Points

YES! amen! I love treehouse so far, but the coding challenges are really frustrating. Often times I just start a new file in workspaces to experiment with whatever the hell the prompt is asking for (which is usually phrased in a confusing manner). Sometimes if my code works in my workspace file but the challenge won't accept it, I just say "F U!!! Even though you're still giving me vague 'Bummer!' messages, I know my code is just fine" and skip the challenge. So far the code challenges are the one thing about treehouse that stresses me out. I think it would be great to have:

  1. Hints.
  2. Better responses for when you get something wrong.
  3. Clearer directions.
  4. Reveal code if you fail x number of times.
Kenneth Love
Kenneth Love
Treehouse Guest Teacher

If you have suggestions for 1, 2, or 3 on any of my challenges, please email me with them. I'm always happy to try and make a challenge more clear for students.

I very much agree with this, I have been banging my head against a code challenge on classes and my code works in workspaces s but the code challenge just says bummer and wont accept it. I am close to just moving on and that will bug me for a long while. I wish there was better feed back or more hints as immediate response helps with learning, and not breaking and fussing with message boards... like I am doing now... However I don't think it should give the answer as the first hint, maybe a very generic outline of how to solve it but you have to fill in the code syntax as a first layer of hit, then maybe reveal the actual code if you still need help, but something needs to change with these code challenges ASAP.

Jonathan Wadsworth
Jonathan Wadsworth
20,196 Points

Brainstorming here.... Is it possible to show better debugging responses? Often the response is 'Bummer!' or something similar, but that is less than helpful. If I could see the actual error and possibly a stack trace for what went wrong, this would help immensely.

Another thought here is more context for the code challenges. I've noticed several code challenges that either build on each other or build on the code from the videos. While this is great, in the code challenge itself, I often have no access to the referenced code itself. So, if I'm supposed to be adding a method to a class that extends another class, I should definitely have access to view the code for the base class. If I have to rely on a function or class that's not explicitly available in the code challenge (I'm not talking about built-in functions & classes. That's what Google is for...), then I'll often skip the code challenge after being frustrated or confused. I should never have to reference the previous videos to see what the code in the code challenge is doing. The code should be there for me (in a separate tab if necessary) to examine so I can solve the problem presented.

I can go back through the courses and find examples of what I've explained here, if that would be helpful. I just finished the new Object Oriented Python course, and I recall a challenge or two that were missing context.

Ryan Hartigan
Ryan Hartigan
3,425 Points

To be honest, someone should just create a separate website where they show all the answers for the exercises.

You guys have a whole track on UX and don't yet understand that the first rule of good user experience is giving the users what they want?

Dave Tufts
Dave Tufts
1,355 Points

Can someone please fix this?

Looks like they still haven't figured out how to show hints or a better error message. I saw that some questions had never been answered and I didn't want to wait around for someone to answer my question. So I tried searching for it in the Community and I found it! Query: [course name] [challenge name] [challenge number]. You can omit any of these keywords for a broader search. You can also try googling. If that doesn't work, then try posting the question and hope that someone answers!

Completely agree. What would be the benefit of cheating anyway?! Who exactly would you be cheating? Infuriating that you can't see the answers after a certain number of attempts. Completely agree with everyone here who has said that it helps you learn to see the answer and then reverse-engineer where you were making mistakes. This is why I definitely WON'T be continuing my membership beyond the 7-day free trial! Such a shame as this is otherwise a fantastic product...

Cliff Jackson
Cliff Jackson
2,887 Points

Have to agree wasting so much time on one question is very frustrating with no hints at all. Will be looking at the other online resources i think, shame as the rest of the set up is good.

antoine winzenried
antoine winzenried
812 Points

This is my biggest complaint about this system. SO FRUSTRATING. No tips no help just a shaking wrong message.

Cliff Jackson
Cliff Jackson
2,887 Points

Would say also that sometimes the questions can also be a bad g vague and confusing, I spent hours yesterday trying to get past a challenge. The one problem was a spelling mistake but the code was right. A hint like check spelling would of been helpful but by the time I found out my head was burnt out and I felt like doing no more. Treehouse need to address this otherwise they will loose many subscribers over time.

when learning input prompts i get the output response wrong when doing the challenges, what am i doing different? This is where i get stuck