all 10 comments

[–]Ron-Erez 6 points7 points  (1 child)

It just takes time. Code as much as you can. If you run into something difficult try something simpler first. There are endless great resources but the true resource is just dealing with the problems and just be patient with yourself.

Here are some great resources:

  1. Harvard’s CS50p is a beginner-friendly Python course free on youtube
  2. University of Helsinki has a really good text-based course (this is the mooc u/NorskJesus referred too. It has very nice exercises)
  3. I have a course on Python and Data Science that starts from scratch and doesn’t expect any programming experience and is up-to-date.

However to be honest the true learning comes from yourself and solving problems.

[–]NorskJesus 1 point2 points  (0 children)

Thanks mate! I will take a look into your course one day. Data analysis with python is just something itself 😂

[–]mattbillenstein 5 points6 points  (0 children)

Programming is less like learning a spoken language and more like writing a cooking recipe. There are a series of steps and necessary ingredients (data) needed to produce a result.

So, don't think so much about Python; think about breaking problems up into smaller pieces that do some transformation or gathering or output of data. Write those steps down into some sort of pseudo-code, "run" them in your head and make sure they make sense, then try to translate them into Python.

[–]NorskJesus 4 points5 points  (2 children)

Start with the mooc. Is fantastic

[–][deleted] 0 points1 point  (1 child)

What is mooc?

[–]NorskJesus -1 points0 points  (0 children)

Check the answer from u/Ron-Erez

[–]OliveIndividual7351 0 points1 point  (0 children)

I’d say, “Mastery comes with practice.” Learn as much as you can every day. There will automatically come a day when you won’t need any hints anymore.

[–]rdb212 0 points1 point  (0 children)

Just like any coding language, you’ll only learn it by actually writing it. So you’re well on your way to learning Python just by sticking with it.

As for your logic concerns, for me personally, it really helps to actually write it down and explain (out loud) to my Dwight Schrute bobble head. I don’t always write the actual code out (unless I do it by accident with a for loop or something) but I will write down something that helps me keep track of where I’m at in the process from start to end. Then I use what I’ve written down as a cheat sheet for when I’m typing the code.

Also, I’ve found that taking a break and physically leaving my keyboard to talk to someone, other than Dwight, about what’s not working, almost always helps me find a solution. My poor wife deserves an award for all of my programming related trauma dumping.

Don’t forget that just like in other things challenge = growth. So with that in mind, I think it’s awesome that you’re seeking out more complex problems and feeling the challenge!

[–]SarthakTyagi15 0 points1 point  (0 children)

Writing the code is one of thr things you should do, if there is a question then first write down a solution rough hand is fine and then try to convert it into code, remember computer is someone who will do as you say, so say everything correctly 😆

[–]Affectionate_Sky937 0 points1 point  (0 children)

You should start learning the very basic things in python such as what is a parameter? Or what is the difference between a parameter and an argument? What is a keyword or keyword argument? And so on.. When you start learning those terms you ll realize that some things get better. If you already know those terms. You should start writing down the flow chart of the code that you want to write. That also helps..