modulo operator in python for power(ab) code example Example: pow modulo python pow(a, b, m) # efficient (a**b)%m