We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841ae07 commit 151a9a0Copy full SHA for 151a9a0
Python/Math/Power - Mod Power/Solution.py
@@ -0,0 +1,2 @@
1
+a, b, m = [int(input()) for _ in range(3)]
2
+print(pow(a, b), pow(a, b, m), sep='\n')
0 commit comments