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 8a696e4 commit e9a779aCopy full SHA for e9a779a
maths/is_string_palindrome.py
@@ -42,5 +42,6 @@ def is_string_palindrome(words: str) -> bool:
42
return cleaned_phrase == cleaned_phrase[::-1]
43
44
if __name__ == "__main__":
45
- n=input("Enter a word:-")
46
- print(is_string_palindrome(n))
+ import doctest
+
47
+ doctest.testmod()
0 commit comments