modular exponentiation python implementation code example Example: python exponentiation print(5 ** 3) #125