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
sidni ahmed
3,329 Pointsunderstanding python
Hi everyone,
I'm very new to coding and I am currently going through the python course. I just finished the python basics track (yay!). Problem is while i was doing the first track, I got to the code challenges and my mind just goes blank. Its easy following the video and trying to understand the code. But when it comes down to writing a script on my own, i forget everything.
My main point is, would I need to do the track again? or do i just carry on with the course and hopefully I will have an 'aha!' moment somewhere down the line. I know for sure that if I progress in the course I will have the same blank moments when I am faced with a code challenge.
Is this normal? or do I keep repeating the tracks until I know them Inside out? (repeating gets pretty boring) :(
3 Answers
Andreas cormack
Python Web Development Techdegree Graduate 33,011 PointsHi Sidni
First of all great you have decided to learn python. Python is my favourite programming language for its simplicity and not to mention strict indentation which forces you do develope good programming habbits which really helps especially when you are writing alot of code that someone else needs to read and understand or you need to come back to your own code at some point later. I can go into why python alot more but will leave it for some other time.
In regards to you struggling to write code on you own well that will come from practise. My advice would be to go over challenges and also try to re write code that kenneth writes in you own way, which would help you not only understand what he is doing but help you understand the basics like variables, numerical operations , functions,lists, dictionaries and so on.
The time you take to learn and understand doesnt matter long as you understand the basics of coding. I like to think of coding like playing a musical instrument without the basics you might play a song but dont actually know whats going on!!!.
So practise practise and you will get there.
Martin Cornejo Saavedra
18,132 PointsYou should be able to complete the challenges on the first track easily, or you'll carry those blank moments during your whole learning and even worse in advanced courses.
When you follow the videos you should write the code as Kenneth explains them, you'll learn much faster this way. And then you'll realize those challenges are the same thing the video talked about. You should open a workspace and repeat every command the teacher is writing on the lesson. The challenge is about the same.
If you don't want to repeat the code challenge (you should), you can create your own challenges. The only way to learn and dominate python is practice and practice over and over again.
sidni ahmed
3,329 PointsThank you So much for the response guys. I will get there someday! :)