Fix typo power_using_recursion.py (#11083)

This commit is contained in:
chien liu 2023-10-29 22:22:19 +01:00 committed by GitHub
parent c7a1331b34
commit 13e66c18d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ def power(base: int, exponent: int) -> float:
if __name__ == "__main__": if __name__ == "__main__":
from doctests import testmod from doctest import testmod
testmod() testmod()
print("Raise base to the power of exponent using recursion...") print("Raise base to the power of exponent using recursion...")