Python program to find out the largest number among the three numbers entered through the keyboard. A legacy problem with multiple solutions.
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
*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 and how it is different from Exception handling in other programming Language. Simple example with a great explanation.
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 […]
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 […]
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.