Update binary_exponentiation.py

This commit is contained in:
Chinmoy Das 2017-10-08 13:12:33 +05:30 committed by GitHub
parent f5917f589c
commit 0393c5ad38

View File

@ -23,7 +23,7 @@ def b_expo(a, b):
return res
def b_expo(a, b, c):
def b_expo_mod(a, b, c):
res = 1
while b > 0:
if b&1: