Skip to main content

Posts

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 hum...

Logical operators in python : Beginner Python Programming Tutorial - How to become a Python Jedi - Part 3-4

Welcome back friends to another post on TheCodingProject and we are back with the fourth chapter of the Python programming tutorial - How to become a python Jedi. This time we are going to learn about logical operators. What are Logical Operators ? Logical operators are used to compare any two values, be it two numbers , two strings or any other objects. In short these operators help us to make a decision by giving back the results of a comparison. logical operators always return either a True or a False. Different Logical operators → == Equal to !=  Not equal to <   Less than >   greater than <= Less than or equal to >= Greater than or equal to Examples of Logical operators → Let’s get into some examples to better understand the usage of comparison operators. Copy the below code and paste it in pycharm or any other editor that you have. Additionally you can also download the comparison operators.py code file...

Boolean in Python : How to become a Python Jedi - A Python programming tutorial - part 3

Welcome back friends to another episode of TheCodingProject and we are back with the third chapter of the Python programming tutorial - How to become a python Jedi. This time we are going to get a taste of boolean operators. What are Boolean Operators ? Computers don’t understand the common human language, they only speak and understand machine level language and this language is made up of only two numbers 0 & 1. These numbers are known as binary numbers & this language is known as binary language. Now if you are a crazy nerd like me and you wanna know more then dive in here . The numbers 0 & 1 also represent decision making as they also represent True (for 0) & False (for 1) and these two operators are known as boolean operators. Enough talk man, I’m here to learn code!!😠 Okay Okay I just took a trip in my emotion boat. I know you want to learn code so let’s just cut the talk talk & dive to code code. Yayyy!! Boolean operators in acti...

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 acco...

My new Youtube channel

New YouTube channel I always say that thecodingproject exists because of you, it exists because I want to share with you the knowledge and experience that I have gathered over time and make it available for all of you so that you can pursue your passion and love for coding. It's been my continuous endeavor to present you content that is both interesting and useful so that learning coding is no longer boring. To achieve this I have launched my first YouTube channel . Now all of my python coding tips & tricks are also available on YouTube. Visit the link and subscribe to my channel .

Expressions in Python : How to become a Python programming Jedi - A Python programming Tutorial Part 1

Long Long ago in a Galaxy far far away there was a planet named Quora. There was a growing agitation among the planet’s inhabitants to learn the way of the Python programming Force and become a master in the way of the Python programming Jedi, but very few knew that the secret art of the Jedi is embedded in a book named as TheCodingProject…. So, let’s begin the journey of learning the secret art of the Python programming Force and we shall together make the journey towards becoming the Python Jedi…. What is Python? As per Wikipedia “Python is a widely used high-level , general-purpose , interpreted , dynamic programming language .” Python is an open source programming language which was conceived in the late 1980s and its implementation began in December 1989 by Guido van Rossum (more on it here ). For us it’s sufficient to know that Python is : High level language - Python is a high-level programming language because it provides strong “:abstractio...