The pow() method in Python returns the power of two values. x**y is computed with this function. This function computes the power after converting its parameters to float.

As in base exponent, the base and exponent are in the decimal numeral system, and the pow() function returns the base to the exponent power. Use pow() as Math because it is a static function of Math. rather than a method of a Math object you developed, use pow(). By using mathpow() we have executed the python program to calculate compound interest.

```
def co_in(principle, rate, time):
Amount = principle * (pow((1 + rate / 100), time))
CI = Amount - principle
print("CI", CI)
co_in(100000, 10.00, 2)
```

Output:

CI 21000.000000000015

Program to Find Simple Interest in Python

Maximum of Two Numbers in Python Using Function

C Program to Find Armstrong Number Using Recursion

Linear Search in C Program Using Array

Insertion Sort Program in C Using Array

Bubble Sort Program in C Using Function

Bubble Sort in C Program Example

Binary Search in C Program Using Function