pow(x,y)# ==x^y
2 ** 3 == 8
x - base
y - exponent
z - modulus
pow(x,y,z) # = (x^y)%z
# There are two ways of computing x^y in python:
>>> 3 ** 4
81
>>> pow(3,4)
81
#The ouptut will be x ^ y
x**y
# x^2 :
xsquared = x**2
x**y # x^y
import math
math.exp(x)