r/PythonLearning • u/clcodingupdates • 25d ago
Help Request Python Quiz of the day.
What will be the output of the following Python Code?
print(pow(2, 5, 7))
0
Upvotes
r/PythonLearning • u/clcodingupdates • 25d ago
What will be the output of the following Python Code?
print(pow(2, 5, 7))
View all comments
Show parent comment
1
u/atreidesardaukar 25d ago
I didn't do the math, but here's the documentation for the built-in function:
https://docs.python.org/3/builtins/functions.html#pow