mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
uses: actions/checkout@v2 (#1779)
* uses: actions/checkout@v2 * fixup! Format Python code with psf/black push
This commit is contained in:
@ -5,7 +5,9 @@
|
||||
"""
|
||||
|
||||
"""Calculate Modular Exponential."""
|
||||
def modular_exponential(base : int, power : int, mod : int):
|
||||
|
||||
|
||||
def modular_exponential(base: int, power: int, mod: int):
|
||||
"""
|
||||
>>> modular_exponential(5, 0, 10)
|
||||
1
|
||||
|
Reference in New Issue
Block a user