# Python Function

## Numpy exp() function

The numpy exp() function is used to calculate the exponential of an array or scalar value. It returns an array of the same shape as… Read More »Numpy exp() function

## Python function name convention

Python function name convention is to use a lowercase word or words. Separate words by underscores to improve readability. For example, if you have a… Read More »Python function name convention

## Python Set global variable in function

In Python, You can use the global keyword to Set a global variable in a function. If you want to simply access a global variable… Read More »Python Set global variable in function

## Python global variable across functions

Python global variables can be across functions because global variables are defined outside any function. You can access and modify this variable by any function… Read More »Python global variable across functions

## Global function Python

Python Global function can define using the def keyword followed by the name of the function and the parameters it takes (if any). A global… Read More »Global function Python

## Python callback function

Python callback function is a function that is passed as an argument to another function and is then called inside the parent function. The callback… Read More »Python callback function

## Python math functions list

Python math functions list available as standard in the Math module. You have to import the module using import math to use mathematical functions in… Read More »Python math functions list

## Python math log10() function

Python math log10() function calculates the base-10 log of a number. Its input and convert it into a base 10 logarithmic. You need to import… Read More »Python math log10() function

## Python pow() function

Python pow() function computes the power of a number by raising the first argument to the second argument. This function returns the value of x… Read More »Python pow() function

## Python quantize() Function

Python quantize() Function return a value equal to the first operand after rounding and having the exponent of the second operand. Python quantize() function example Simple… Read More »Python quantize() Function