We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78808e7 commit a2bee23Copy full SHA for a2bee23
maths/is_string_palindrome.py
@@ -2,6 +2,7 @@ def is_string_palindrome(words: str) -> bool:
2
cleaned_phrase = ''.join(words.split()).lower()
3
return cleaned_phrase == cleaned_phrase[::-1]
4
5
+
6
if __name__ == "__main__":
- n=input("Enter a word:-")
7
- print(is_string_palindrome(n))
+ word = input("Enter a word:-")
8
+ print(is_string_palindrome(word))
0 commit comments