Setting Up Yoast SEO 7.1 in WordPress

Yoast SEO for WordPress is one the best content optimization plugin for WordPress. This SEO plugin can boost your site’s traffic better than any other WordPress SEO plugin. Yoast SEO 7.1 is available…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




How to learn Python

And anything really

I recently came across a question on Quora which I found to be particularly interesting:

I found it to be so interesting because of how little context was given and how open-ended it was.

They are having trouble learning Python 3, sure.

But what was confusing them? What was causing them trouble? What were they unable to understand which prompted them to ask such an open question?

Thinking about the question, I realized that they were really asking a much larger question. By not giving any of the context of what they are struggling with or what they can’t figure out, they were almost asking the question of “How do I learn a new skill?

Sure, it appears to be a bit of a stretch to jump to a much broader question like that. However, when I went about answering this question, I realized that the way you go about learning Python 3 is really the way you go about learning almost any new skill: by starting small, exploring, fixing, breaking, and learning from your experiences and the experiences of others.

With that, this is how I answered:

Maybe try taking it back a few steps.

No matter what level of capabilities you have, there is a program you are capable of writing, and the more you write, break, fix, and read, the better you will become.

How about hello world:

Simple enough right?

Now take it a step further. Let’s get into some loops.

Now you can print hello world 10 times using a simple loop.

Now take it a step further. Let’s get into some user input.

This allows you to ask the user how many times to print hello world.

Now let’s take it a step further. How about a random number guessing game.

That demonstrates the use of while loops, comparative operators, and random numbers. Maybe we can add some complexity with some hints to the user.

Kind of cool, huh?

Maybe you’ve already written small programs like this, and you’re struggling with things like object orientation and threading.

Whatever the case is, the point is that you should start small and work upwards to expand your horizon of ability.

A common mistake among new programmers is to expect to build something like Black-Ops after learning for a few months, so they aim too high and end up discouraged by the difficulties and complexities they uncover.

Instead, start at a level you understand, and gradually increase the complexity of the problems you are solving and the systems you are building.

In fact, you’ll find this is applicable in a lot more circumstances than just learning Python. Hope this helps!

By reading that answer, you hopefully understand better what I was saying in the beginning.

Ultimately, learning to program should be like learning to do anything else. And in the end nothing can beat the best teacher of all: experience.

Add a comment

Related posts:

If You Want to Be Productive You have to Suck at Something

The worst question my wife used to ask me was: “Did you get everything done today?” The answer was never yes which always meant that it was demoralizing to answer it. It was like my stupid statement…

Getting Local IP and Global IP address in Mac

Most easy way via GUI is to go to System preferences -> Networks .Here you will see your local IP as shown below If we want to get more details, it is possible via Terminal . Unlike Windows , If you…

Why Is It So Hard To Accept Help?

Some days we all need a helping hand — why do we fight against it so hard.