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 Python Collections (Retired) Dictionaries Introduction To Dictionaries

Yuda Leh
Yuda Leh
7,618 Points

Having a lot of trouble with Dictionaries and the coding Challanges

Throughout the Dictionaries section, I have not been able to complete the coding challenges w/o looking up the answer. The previous Lesson and sections I have been able to complete the challenges easily and understand what/how to do them. I am not sure if I am having a bad day and I should come back tomorrow and start the Dictionaries from the beginning or me just don't understand them. Does anyone have any suggestion? What would you do if you are not able to complete the challenges?

(I either don't know how to start the challenge or I get it to somewhat semi-work)

  • thanks

Yuda,

I can definitely agree with what you're saying. I've recently completed the Dictionaries section, and throughout all of it I had to look up the answers, as the code challenges just didn't make sense. Personally, I think the wording of code challenges changes drastically upon reaching this section - Rather than walking you through what you'll need to do, it simply tells you what your code should do.

That said, after looking up the answers and applying them so the code I initially input works, the best thing you can do for yourself is to go back and make sure you understand WHY the answer is what it is, otherwise you won't gain anything from it. I myself went back and redid the entire section after completing it, just to get a more thorough understanding of it going forward. I still don't have the entire section completely understood, but it definitely helped.

Just a suggestion! Good luck!

Yuda Leh
Yuda Leh
7,618 Points

Sean Manners, no you are 100% right. That what I have been doing, I think it's helping!!! Thanks for your input I really appreciate it.

3 Answers

If I get stuck on a code challenge I'd look it up, and if that doesn't work I'd get help in the Community.

Other Treehouse students are always willing to answer questions :)

Yo Yuda,

I agree with Sean. I remember doing this section a while back. The challenges seemed overly complicated and too abstract for me. I cheated on a few of them and then just really tried to understand why and how the code worked the way it did. Looking at the challenges again now they seem super simple (and some of the newer things I'm learning are feeling like these used to feel). Just hang in there and it will click at some point. Don't worry too much if you don't get to the answer yourself, just try to understand a bit more everyday!

Also, once you do start using an IDE (check out the section on PyCharm) and making bigger things, these concepts start to make more sense. You'll keep seeing a lot of the same stuff over and over and reviewing always helps!

Good luck!

Zachary Maldonado
Zachary Maldonado
5,895 Points

I just want to add for the newer students out there that this part of the course is a noticeable step up in difficulty. I had so much trouble the first time around as well. I'm just now going back through this course to review and trust me, it gets easier. Just push through your frustration the first time around, practice on you're own projects and review everything. It'll click eventually