**New course!**Every coder should learn

**Generative AI!**

- 1

# How to solve exponentiation problem which given in this app course

2 Answers

+ 1

Python has three ways to exponentiate values:
The ** operator. To program 2â”Â we do 2 ** 5 .
The built-in pow() function. 2ÂłÂ coded becomes pow(2, 3) .
The math. pow() function. To calculate 3â”, we do math. pow(3, 5) .
//
Other resources:
https://www.geeksforgeeks.org/modular-exponentiation-python/amp/
https://www.geeksforgeeks.org/modular-exponentiation-power-in-modular-arithmetic/amp/
https://www.geeksforgeeks.org/pow-in-python/amp/