Skip to content

Commit bcd0b50

Browse files
authored
Update power.py
1 parent fe3d3d8 commit bcd0b50

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

divide_and_conquer/power.py

-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ def actual_power(a: int, b: int):
2525
return actual_power(a, int(b / 2)) * actual_power(a, int(b / 2))
2626
else:
2727
return half * half
28-
else:
29-
return a * half * half
3028

3129
def power(a: int, b: int) -> float:
3230
"""

0 commit comments

Comments
 (0)