Skip to content

Commit 6cdf968

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c9c27d4 commit 6cdf968

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

maths/is_power_of_three.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Space Complexity: O(1)
66
"""
77

8+
89
def is_power_of_three(n: int) -> bool:
910
"""Return True if n is a power of three (n > 0).
1011
@@ -36,4 +37,5 @@ def is_power_of_three(n: int) -> bool:
3637

3738
if __name__ == "__main__":
3839
import doctest
40+
3941
doctest.testmod()

0 commit comments

Comments
 (0)