Skip to main content
Python Tutorials

If you want to download a copy of the chapter then purchase the chapter by clicking on the button below. This lesson is based on google docs so if you have any doubts on any of the topics in this lesson then you can just put a comment against that topic and I will answer that question there itself so that you don’t need to navigate to any other page or document to view the answer.


Additionally you can also bug me on Quora. You can also find me on Twitter or Facebook. So, why wait go ahead and start exploring.

Click on the button below to purchase the chapter




Comments

Popular posts from this blog

If else in python : Beginners Python Programming Tutorial - How to become a Python Jedi - Part 5

Welcome back friends to another post on TheCodingProject and we are back with the fourth chapter of the Beginner Python programming tutorial - How to become a python Jedi. This time we are going to learn about decision making in python using the If Else statement in python.
The If-Else statement? In Python Programming, decision making is done by using a conditional statement like the If-Else statement. An If statement consists of 3 parts → If keyword a conditional operator the values which needs comparison
Now it should be kept in mind that the only values that an If condition returns are a True or a False , Using this True or a False we can decide if the condition that we are trying check is right or wrong. When Coding knowledge came to my rescue→ Let me tell you a story about how coding knowledge came to rescue . I have this neighbour named Alex who doesn't quite seem to be a regular guy. Wait ! actually he never seemed to me as a regular human 😟. This one day I was visiting him at h…

While Loop in python : How to become a Python Jedi - Beginners Python Programming Tutorial - Part 6

Welcome back friends to another post on TheCodingProject and we are back with the sixth chapter of the Beginner Python programming tutorial - How to become a python Jedi. This time we are going to learn how to use while loop in python.
The While Loop statement? In Python Programming, There are 3 types of loops →
While loop For loop Nested loops
Now to get into some action→
Let’s consider that two groups of aliens have landed on earth  out of these two one of the group is good & the other are the bad guys. The govt. Has given you the task of designing a system that takes in input from different eyewitnesses & then classify that whether the aliens that these eyewitnesses encounter are the good guys or bad guys.










Copy & paste the above code in your editor and run this code. What do you get ? When the input is Autobots it matches the condition aliens == "Autobots" & it enters the loop to prints the statement pointed by the print method.
We can also use negative conditions…

Flow charts in Python : How to become a Python Jedi - A Python programming Tutorial Part 2

We all know that programming is a set of instructions, but many a times we forget to think that this set of instructions should make sense to be called a computer program. You can get your dog to fetch a stick just by yelling “FETCH” but if type an instruction like “calculate” it will do nothing other than just sitting there and gaping at your face with that ugly python command prompt look.

To command a machine to do a task we need to pass a set of “precise and clear set of instructions that flows seamlessly from one step to another”. This flow of instruction is known as flow control or instruction flow control in the programming world. One handy tool to do this is a flowchart.

What the hell is a flowchart? Well simply put a flowchart is a graphical representation of instructions/logic sets that helps you to visualize the logic that you have formulated for a task. Let’s get into an example….

Let’s say that you want to automate the login to your facebook account and want to code the entir…