diff --git a/scripts/more_utils.py b/scripts/more_utils.py new file mode 100644 index 00000000..32b2f5ee --- /dev/null +++ b/scripts/more_utils.py @@ -0,0 +1,4 @@ +def is_palindrome(text): + """Check if a string is a palindrome.""" + cleaned = text.lower().replace(" ", "") + return cleaned == cleaned[::-1] \ No newline at end of file