From 0393c5ad38d66d19cc7366b4bafd62cd984b049d Mon Sep 17 00:00:00 2001 From: Chinmoy Das Date: Sun, 8 Oct 2017 13:12:33 +0530 Subject: [PATCH] Update binary_exponentiation.py --- other/binary_exponentiation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/binary_exponentiation.py b/other/binary_exponentiation.py index 964a646f8..1a30fb8fd 100644 --- a/other/binary_exponentiation.py +++ b/other/binary_exponentiation.py @@ -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: