Power - Mod Power

  • + 0 comments

    a=int(input()) b=int(input()) m=int(input()) result=pow(a,b) result1=pow(a,b,m) print(result) print(result1)