Return to site

Easy Python for beginner #1:

Introduction to programming and Python language

5-minute reading

"A journey of a thousand miles begins with a single step."

Today is a big day. You are taking your first step in your journey to learn Python. It is going to be a little challenging at times, but it is not that scary. We will go slow and give you everything you need to fully grasp each concept before we move along.

In this series of tutorial, you will discover the fundamental concepts of computer programming.

If at any point along the way you feel lost or confused, do not panic. You can read through the tutorials, and watch the videos over and over to let the concept sink in. Every learner learns at their own pace, so feel free to take as long as you need for each concept.

And the most important thing is don't forget to utilize these exclusive supports (eg. 1:1 Live QnA Session, Accountable Buddy Groups, etc) that we design just for you!

Programming language is similar to human spoken languages.

Alright! I hope that gives you the confidence to get started. Before moving into details, let’s get to know a little bit about a computer program.

At a basic level,

When you write a program, you create a step by step recipe of what needs to be done to complete a task. And when your computer executes the program, it reads what you wrote and follows your instructions to the letter.

The recipe is written in what we called programming language.

Programming languages are actually similar to humans spoken languages since they have a syntax and semantics.

In a human language,

  • syntax is the rules for how a sentence is constructed. while semantics refers to the actual meaning of the statements. 

In English, sentences generally have both a subject, that's a person, place, or thing and a predicate usually a verb and a statement that explains what the subject is doing.

For example: let's create a sentence

  • Christine loves interactive video.

In this sentence, "Christine" is the subject and "loves interactive videos" is the predicate. To form a sentence that others can understand, you need to know both the syntax that constructs the sentence and the semantics that gives it meaning. The same applies to programming languages.

In a programming language like Python:

  • syntax is the rules for how each instruction is written. and the semantics is the effects the instructions have.

For example: let’s assign a value to a variable.

  • my_name = "Christine"

Variable is a new concept that you will learn more in the next videos. In this example, to assign a value to a variable, we will use the syntax my_name is equal to “Christine”. This syntax means we are telling our computer to store “Christine” as a new value for the variable my underscore name.

Much like spoken languages, there are lots of programming languages to choose from. So once you understand the basic concepts in one programming language, it becomes much easier to learn another. In this course, we will use the Python programming language, to demonstrate basic programming concepts, and how to apply them to writing automation scripts.

If you do not have Python installed on your machine, no worries, check out the next tutorials for the instructions.

If you prefer videos, check out the 8-week instruction videos

If you find it difficult to learn and apply Python to real-world problems, or hard keep yourself accountable to make consistent progress? 

Check out our exclusive supports for Python learners

All Posts
×

Almost done…

We just sent you an email. Please click the link in the email to confirm your subscription!

OK