In c language we include <math.h> library to perform exponent operation by using pow() function
float a = pow(2, 3);//power function always return floating value.
but in python we can use ** (double asetrick)operator to perform exponential operation as shown below example
out put: 8
What language are you after?
In Python you can use the double asterisk to express an exponent, like this
eight = 2 ** 3
Other languages have mathematics libraries with typically a pow() or power() function.
In C, you'd write
float eight = pow(2, 3);