0
Exponentiation
is there a function to do exponentiation ??
2 Answers
- 1
sure ...
import math
n=math.e**5
print(n)
it will print e to the power 5
- 1
import math
n=math.pow(math.e,5)
print(n)
it will also print e to the power 5
is there a function to do exponentiation ??