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

Python Architecture Let’s now talk about Python architecture and its usual flow – i. Parser It uses the source code to generate an abstract syntax tree. ii. Compiler It turns the abstract syntax tree into Python bytecode. iii. Interpreter It executes the code line by line in a REPL (Read-Evaluate-Print-Loop)Continue Reading

Python Overview Python is a general-purpose high-level programming language. It is an open source language, released under a GPL-compatible license. Python Software Foundation (PSF), a non-profit organization, holds the copyright of Python. Guido Van Rossum conceived Python in the late 1980s. It was released in 1991 at Centrum Wiskunde & Informatica (CWI)Continue Reading

LIST OF INBUILT INT, CHAR VALIDATION FUNCTIONS IN C PROGRAMMING LANGUAGE: “ctype.h” header file support all the below functions in C language. Click on each function name below for detail description and example programs. Functions Description isalpha() checks whether character is alphabetic isdigit() checks whether character is digit isalnum() Checks whetherContinue Reading