Python Modules

A module is a file containing Python definitions and statements. A module can characterize functions, classes and variables. A module can...

Python File Methods

A file object permits us to utilize, access and control all the user accessible files. One can read and write any such files. At the...

What is Python Operators?

Operators are used to perform operations on variables and values. There are following operators in Python Arithmetic operators Assignment...

Pass Statement in Python

The pass statement acts as a placeholder and frequently used when there is no need of code but a statement is still essential to make a...

While Loop in Python

While loop is used to iterate over a block of code again and again until a given condition returns false. A program is executed...

For Loop in Python

for () loop is a counting loop and repeats its body for a pre-defined number of times. It is a very versatile statement and has many...