python in sets and Dictionary in hindi by morningsundayteer

Set  A set is an unordered collection of items.    Every element is unique (no duplicates).    The set itself is mutable. We can add or remove items from it. Does not support indexing. Sets can be used to perform mathematical set operations like union, intersection, symmetric difference etc. •Any immutable data type can be an element […]

python list and tuple in hindi by morningsundayteer

•List •Tuple List A sequence is a data types that represents a group of elements. The purpose of any sequence is to store and process a group of elements. In python, strings, lists, tuples and dictionaries are very important sequence data types. All sequence allow some common operations. A list is similar to an array […]

python in Concept of Array and its operations in hindi by morningsundayteer

•Concept of Array and its operations •Handling Strings and Characters Array •An array is an object that stores a group of elements (or values) of same datatype. •The size of the array is not fixed in python. Hence, we need not specify how many elements we are going to store into an array in the […]

python Nesting of while loop and for loop in hindi by morningsundayteer

Nesting of Loop •Python programming language allows the usage of one loop inside another loop. •A nested loop is a loop inside a loop. •The “inner loop” will be executed one time for each iteration of the “outer loop”. Syntax while expression:       while expression:                 statement(s)       statement(s) Example of Nested While loop i = 2 while(i […]

python control statement if, if…else, if…elif…else statement with examples by morningsundayteer

Control Statement •Concept of Indentation •if, if…else, if…elif…else statement with examples Control statements •Control statements decides the direction of flow of program execution. •Decision making: •if statement •if…else statement •if…elif…else statement The if statement •It is used to execute one or more statement depending upon whether condition is true or not. •Syntax:-   num=1 if condition:  […]

Operators Data types Literals Constants Identifiers Naming Conventions with examples Basic programming Examples by morningsundayteer

Operators & Operand •Operators are special symbols which represents computation. •They are applied on operand(s), which can be values or variables. Operators when applied on operands form an expression. •Operators are categorized as Arithmetic, Relational, Logical and Assignment. •Value and variables when used with operator are known as operands. Mathematical/Arithmetic Operators •Arithmetic operators are used […]

Python Virtual Machine (PVM) in hindi by morningsundayteer

•Installation •Execution of program Python Virtual Machine •Python file first get compiled to give us byte code and that byte code is interpreted into machine language. •This is performed by PVM. •Execution: Installation of Python •Go to: www.python.org/downloads •Click the “download python” button, save it and run. •Follow the step by step process of installation […]

Introduction of python in hindi by morningsundayteer

•Features of Python •Applications & Flavour of Python •Difference between C and Python •Difference between Java and Python •Byte Code •Memory Management in Python •Garbage Collection in Python Introduction Python is a popular programming language. It was created by Guido van Rossum, and released in 1991. The name “Python” was adopted from the Rossum’s favourite […]