The pow() method is a math built-in method where it calculates the 2 numbers. The pow() method has 2 arguments. The first argument is the number and the second one is the number power to the first argument. Here's an example:

 
print(pow(2, 2))
# 4