Python

Modules In Python

Modules in Python language are set of functions. After creating the functions in Modules we need to store them in .py extension file. Whenever we are in need of reusing the code, we need to import the modules and specify …

Read more

Loops In Python

When we want to execute the same set of statements sequentially, for several times then we go for Looping. A loop statement gives us the flexibility to execute set of statements n number of times with conditions as we set. …

Read more

Functions In Python

A function is block of reusable statements, which performs an action every time when we call the method. With functions we can reuse the code, which is already existing. Different Types of Functions in Python? In Python there are two …

Read more

File Handling In Python

Python has a very unique feature for file handling. Unlike in other programming languages user does not require to import the library to perform operations on File handling. Basically to work with files, we will be using modes in Python. …

Read more

Decision Making In Python

Conditional Statements checks for a particular expression, which manipulates and gives the output as boolean values like True or false. Based on the output blocks of statements are executed. IF statementIF else statementNested IF statement 1.IF statement : IF statement …

Read more