Python pow () function 
Python Digital Description
 
The Pow () method returns the value of XY (Y-second side of X). Grammar
 
The following is the syntax for the Math Module POW () method:
 
Import Math
Math.pow (x, y)
 
Built-in POW () method
 
Pow (x, y[, z])
 
The function is the Y-order of the computed x, and if z is present, the result is modulo, which is equivalent to POW (x,y)%z
 
Note: Pow () is called directly from the built-in method, and the built-in method takes the argument as an integer, and the math module converts the argument to float. parameter x--numeric expression. Y--numeric expression. Z--Numeric expression. The return value returns the value of x Y (Y-second side of X). instance
 
The following shows an example of using the POW ()  method: #!/usr/bin/python
#-*-Coding:utf-8-*-
Import Math # importing Math module
Print "Math.pow (2):", Math.pow (100, 2)
# Use the built-in to see the difference between output results
Print "POW (2):", pow (100, 2)
Print "Math.pow (2):", Math.pow (100,-2)
Print "Math.pow (2, 4):", Math.pow (2, 4)
Print "Math.pow (3, 0):", Math.pow (3, 0) 
 
The above instance runs after the output is:
 
Math.pow (2):  10000.0
Pow (2):  10000
Math.pow (2):  0.0001 Math.pow
(2, 4):  16.0
Math.pow (3, 0):  1.0