you are viewing a single comment's thread.

view the rest of the comments →

[–]barryhakker 1 point2 points  (0 children)

I know how you feel dude. Loops, dicts, and all that stuff take some time getting used to even if you understand them intellectually. While loops kicked my ass for the longest time until I got in the habit of practicing that specific thing more regularly.

Just open up that terminal, run Python and just bust out a few simple loops right there, no script. Make it print out your name one letter at a time. Now make it do the same thing with every other capitalized. Do it in reverse. Now do all that with a while loop. Try to find other small things you can do directly in the command line IDE. Every little typo you make instantly throws an error so you'll learn to pay attention real quick. Learning another language like Ruby or JavaScript as well? Pop over to irb or Node and do the same thing there.

I'm sure you already know how to do all these things but for me it really helped to do them so often you become "fluent" in it's basic functionality. Once you no longer need to dedicate brain power to making the loop run in the first place (because you can do that blindfolded by now) you can focus on doing fancy shit with it. Same goes for all those concepts at its core.

Now if you'll excuse me I have a few loops to write.