Power - Mod Power

  • + 0 comments

    All done in two lines!

    print(pow(int(input()), int(input())))
    print(pow(int(input()),int(input()),int(input())