Tuple is exactly same as List except that it is immutable. i.e once we creates Tuple object,we cannot perform any changes in that object. Hence Tuple is Read Only version of List. If our data is fixed and never changes then we should go for Tuple. Insertion Order is preservedContinue Reading

If we want to represent a group of individual objects as a single entity where insertion order preserved and duplicates are allowed, then we should go for List. insertion order preserved. duplicate objects are allowed heterogeneous objects are allowed. List is dynamic because based on our requirement we can increaseContinue Reading

String Data Type The most commonly used object in any project and in any programming language is String only.Hence we should aware complete information about String data type. What is String? Any sequence of characters within either single quotes or double quotes is considered as a String. Syntax: s=’seedgroup’ s=”seedgroup”Continue Reading

If we want to execute a group of statements multiple times then we should go for Iterative statements. Here, we will discuss 4 types of Python Loop: Python For Loop Python While Loop Python Loop Control Statements Nested For Loop in Python While Loop: A while loop in python iteratesContinue Reading

Conditional Statements An if statement in python takes an expression with it. If the expression amounts to True, then the block of statements under it is executed. If it amounts to False, then the block is skipped and control transfers to the statements after the block. Syntax: if condition: #Continue Reading

Operators Operator is a symbol that performs certain operations. Python provides the following set of operators Arithmetic Operators Relational Operators or Comparison Operators Logical operators Bitwise operators Assignment operators Special operators Membership Operators Identity Operators Arithmetic Operators: + ==>Addition – ==>Subtraction * ==>Multiplication / ==>Division operator % ==>Modular operator //Continue Reading

Data Types Data Type represent the type of data present inside a variable. In Python we are not required to specify the type explicitly. Based on value provided,the type will be assigned automatically.Hence Python is Dynamically Typed Language. Python contains the following inbuilt data types int float complex bool strContinue Reading

What are Python Variables? A variable is a container for a value. It can be assigned a name, you can use it to refer to it later in the program. Based on the value assigned, the interpreter decides its data type. You can always store a different type in aContinue Reading

What is Python Syntax? The term syntax is referred to a set of rules and principles that describes the structure of a language. The Python syntax defines all the set of rules that are used to create sentences in Python programming. For example –  we have to learn grammar when we wantContinue Reading

Python Environment Setup Python is available for use with Windows, Linux, Mac OS as well as certain other platforms such as IBM AS/400, iOS, Solaris, etc. To install Python on your local machine, get a copy of the standard distribution of Python software from https://www.python.org/downloads based on your operating system, hardware architectureContinue Reading