Power - Mod Power

  • + 0 comments

    Here is the Python3 code for the Problem.... it is simple and understandable

    a=int(input()) b=int(input()) m=int(input()) new=pow(a,b) print(new) new1=pow(a,b,m) print(new1)