You are viewing a single comment's thread. Return to all comments →
n1, n2, n3 = int(input()), int(input()), int(input()) print(f"{pow(n1, n2)}\n{pow(n1, n2, n3)}")
Seems like cookies are disabled on this browser, please enable them to open this website
Power - Mod Power
You are viewing a single comment's thread. Return to all comments →