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

Tushar Singh
PLUS
Tushar Singh
Courses Plus Student 8,692 Points

Python Learning-suggestions please !

Actually I have 1 question, probably a stupid question. I started Python Track, after completing Python Basics, I am on the second-course, i.e, Python Collections. Now here comes the problem, I have to refer the forums for solutions again and again for coding challenges and I hate this part(when I can't solve the particular prob-really bugs me). I don't know what I am doing wrong. Sorry I din't ask the question yet :p So , what should I do now? I mean get back to Python Basics? or go on with the flow in a hope that it will make sense after sometime ?:D

3 Answers

Alexander Rodriguez, MD
Alexander Rodriguez, MD
6,642 Points

Give yourself a chance to process the information, try to think of each challenge as steps to a puzzle. I'm doing the collections series now and I've been programming for years. I know PHP, Objective-C and some other languages and learning Python like any language is part learning the syntax and part thinking logically through the problems. Instead of seeking the answer in the forums right away, think about what you learned in the basics course. Google parts of the problem as you work through them. I get stuck all the time. Learning to program is partly thinking through the problem then tackling it bit by bit. Kenneth does a great job of showing this by breaking down each programming session into a list of comments where the entire project is broken into steps.

As you continue to practice, your ability to solve these challenges will improve as your brain gets better at processing the syntax, the programming fundamentals and the "logic" behind how things flow.

You ARE going to get frustrated. I was pulling my hair out last night on the a challenge with dictionaries. I'm familiar with these from Objective-C but I wasn't clear on how to iterate through them. So I took a break. Came back 2 hours later and did a search on "how to iterate through python dictionaries". The ideas were presented in a different way and KA-POW, it clicked in my brain. I was then able to solve the challenge.

Use the forums they help. But I find that when you get the entire solution, you don't get to work through them. I'm learning best by not giving up and just not moving ahead until I can solve the challenge. If you're really stuck, then ask for help, review how they solved the challenge but don't move forward until you really understand most of what is happening in that challenge. If you go too fast, it won't stick.

I'll share a pearl with you. I read lots of programming books. But I don't really begin to understand the language until I practice programming with it. Don't underestimate the power of the challenges to teach you Python. It's the best part of how TeamTreehouse teaches.

Keep asking questions, take breaks, use different sources to get new ways of presenting the information to your brain. You'll learn it and it WILL become easier.

All the best and good luck becoming a better programmer.

Carlos Federico Puebla Larregle
Carlos Federico Puebla Larregle
21,074 Points

You can always re-watch the previous videos and try again the exercises. For me, checking every new method or function or data structure in the python docs (docs.python.org) helped me a lot.

Matias Verardo
Matias Verardo
4,371 Points

you have to do is take notes on paper or on the computer, and also try to do what they show in each video. Calming anxiety to see many videos per day and better do it slowly but acquiring knowledge well. Try to do the exercises of each video to help yourself in codetest. hope you serve and apologizes for the English, I used google translate