Powerpoint presentation on Functions in Python. This Google slide covers most common features of python functions in details along with examples.
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.
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 […]
EMI Calculator using Python. EMI stands for Equated Monthly Installment, this calculator is used to calculate the monthly installment of your loan amount.