We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ace6b50 commit ce8ab1eCopy full SHA for ce8ab1e
other/palindrome_check.py
@@ -28,6 +28,8 @@ def is_palindrome(text: str) -> bool:
28
# is using slicing: text[::-1].
29
# We compare the original string with its reversed version.
30
return text == text[::-1]
31
+
32
33
if __name__ == "__main__":
34
# Standard boilerplate for running documentation examples as tests.
35
import doctest
0 commit comments