Skip to content

Commit 606d844

Browse files
Add typing to binary_exp_mod.py
1 parent e798e5a commit 606d844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: maths/binary_exp_mod.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
def bin_exp_mod(a, n, b):
1+
def bin_exp_mod(a: int, n: int, b: int) -> int:
22
"""
33
>>> bin_exp_mod(3, 4, 5)
44
1

0 commit comments

Comments
 (0)