Posts

Showing posts from June, 2019

Python Conditional Statements

Image
Hello guys...., In this session of tutorials we will see what are Python Conditional Statements and How to use them in programming... First of all its important to know what conditional statements means.... I would like to explain this with an example: Now, In everyday life we all need to take some decisions based on conditions, like " If movie review is good, then i'll watch a movie" or you can just say, " If lecture is scheduled today i'll take my Book" and may such if statements. This all decision making statements which are based on some conditions are called conditional statements. Same kind of conditional statements are also used in Python Programming Language, they are Python Conditional Statements IF statement IF ELSE statement IF ELIF (IF-ELSE-IF) statement  NESTED IF statement We will be seeing all this statements and how to use them in programming in details. IF statement This statement is used to execute one or mo...

Python Operators

Image
Let's start with new session and new topic in python, i.e., Python Operators. Before starting in detail it is important to understand answers for some questions: What operators means? Why to use them? How to use them? What are their types? We will be covering answers to all this questions with few examples so that it will be easy for you to understand operators in deep and have fun while programming. So let's begin.... What operators means? The general purpose of a program is to accept data from user and to perform some operations on them. The data in the program is saved into variables . To perform this operations Operators are required. In other words operators are the symbol that performs operations on the variables which are also called as operands. Why to use them? Using this operator, writing the program and performing actions becomes very easy. It also makes your complex program simple. How to use them? Using any operator is very simpl...