From 3d1f34691822a3d32a5de73f9b7d2e440cd5cb97 Mon Sep 17 00:00:00 2001 From: Sekiro4321 <155538724+Sekiro4321@users.noreply.github.com> Date: Fri, 13 Feb 2026 22:59:48 +0530 Subject: [PATCH] Add palindrome checker (no tests) --- scripts/more_utils.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 scripts/more_utils.py 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