Update power.py

This commit is contained in:
lighting9999 2025-02-08 18:02:22 +08:00 committed by GitHub
parent fe3d3d8593
commit bcd0b508c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,8 +25,6 @@ def actual_power(a: int, b: int):
return actual_power(a, int(b / 2)) * actual_power(a, int(b / 2))
else:
return half * half
else:
return a * half * half
def power(a: int, b: int) -> float:
"""