Power - Mod Power

  • + 0 comments
    > a, b, c = (int(input()), int(input()), int(input()))
    > print(pow(a,b))
    > print(pow(a, b, c))