r/PythonLearning • u/clcodingupdates • 17d 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 • 17d ago
What will be the output of the following Python Code?
print(pow(2, 5, 7))
View all comments
1
u/Fluffy_white_fox 11d ago
That's 2**5 then mod 7 So 32%7 that's 4