We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe3d3d8 commit bcd0b50Copy full SHA for bcd0b50
divide_and_conquer/power.py
@@ -25,8 +25,6 @@ def actual_power(a: int, b: int):
25
return actual_power(a, int(b / 2)) * actual_power(a, int(b / 2))
26
else:
27
return half * half
28
- else:
29
- return a * half * half
30
31
def power(a: int, b: int) -> float:
32
"""
0 commit comments