Skip to content

Commit 5a7a617

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

other/palindrome_check.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ def is_palindrome(text: str) -> bool:
2828
# is using slicing: text[::-1].
2929
# We compare the original string with its reversed version.
3030
return text == text[::-1]
31+
32+
3133
if __name__ == "__main__":
3234
# Standard boilerplate for running documentation examples as tests.
3335
import doctest
36+
3437
doctest.testmod()
35-

0 commit comments

Comments
 (0)