Category Python
User Defined Functions in Python
In the previous tutorial, we have familiarized about functions in Python. We have studied that there are two types of functions in Python programming language. They are: Predefined functions (also called built-in functions) User-defined functions A predefined function is that…
Functions in Python | Types, Examples

A function in Python is a named block of organized and connected statements that performs a specific task. In other words, a function is a block of code that performs a specific and well-defined task. It organizes the code into…
Switch Statement in Python
Unlike other programming languages like C/C++/Java, Python does not have any dedicated switch case statement. A switch statement is a multiway decision statement that executes a statement by comparing the value of a variable to the values specified in the…
Conditional Statements in Python

In this tutorial, we will learn about conditional statements or decision-making statements in Python with the help of general flowchart diagram. A simple program written in Python consists of a set of statements that contain expressions. An expression is a…
Python Pass Statement

The pass statement in Python is a simple statement that tells the Python interpreter to ‘do nothing’. The interpreter simply continues with the execution of program whenever the pass statement is executed. This amazing feature makes it a good placeholder…
