mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-12 17:49:50 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
78adb6463f
commit
c79cb95ddb
@ -27,7 +27,7 @@ def actual_power(a: int, b: int):
|
|||||||
return half * half
|
return half * half
|
||||||
else:
|
else:
|
||||||
return a * half * half
|
return a * half * half
|
||||||
|
|
||||||
def power(a: int, b: int) -> float:
|
def power(a: int, b: int) -> float:
|
||||||
"""
|
"""
|
||||||
:param a: The base (integer).
|
:param a: The base (integer).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user