- So far, we have only heard of Python's powers. Now, we will witness them!
- Powers or exponents in Python can be calculated using the built-in power function. Call the power function ab as shown below:
>>> pow(a,b)
or>>> a**b
It's also possible to calculate ab mod m.>>> pow(a,b,m)