Python Lamba/Anonymous Function [ simplest Example ]

Python Lambda function is also known as anonymous function as these type of functions does not have any function name. These nameless functions are defined using lambda keywords

Python *Args and **Kwargs Parameter [ Simplest Example]

*args and **kwargs are two variable length function parameters available in python. How these two parameters are different with each other and how they complement each others.

Exception Handling in Python – [ Complete Guide ]

Exception Handling in Python and how it is different from Exception handling in other programming Language. Simple example with a great explanation.

Python Program ArmStrong Number between two numbers

In this example, We will learn to generate Armstrong numbers between two numbers. This program uses the same function to determine to check Armstrong number. The source code of the function to check Armstrong number is def armstrong(n): m = n sum = 0 while(n != 0): rem = n % 10 sum += rem**3 […]

Python Functions – [ Complete Guide ]

A python function is a small piece of code that is designed to perform a particular task. Python function are divided into two major categories Built-in function Methods User-Defined function Built-in library functions are accessible directly without any type of import. These functions are available¬† with python compiler Len(), input(), print() are few example of […]

Python function to check ArmStrong Number

A number is known as Armstrong’s number if the sum of the cube root of each digit of this number regenerates the same number again.

Prime numbers between a range of numbers

find out the prime numbers between a range of values. This program is basically using a user-defined function to check the primarily of a number and return True or False