Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: ignore case and spaces in Palindrome Checker #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Anamikaasinghraj wants to merge 1 commit into ShravanDalavi:main
base: main
Choose a base branch
Loading
from Anamikaasinghraj:fix/palindrome-ignore-case

Conversation

Copy link

@Anamikaasinghraj Anamikaasinghraj commented Sep 15, 2025

Updated palindrome_checker.py to ignore uppercase/lowercase and spaces.
Now "Race Car" will correctly return True.

Copy link
Owner

Updated palindrome_checker.py to ignore uppercase/lowercase and spaces. Now "Race Car" will correctly return True.

Great improvement! 👍 Thanks for making it more robust.
Just a couple of small fixes before I can merge:

  1. Replace word with s in the else block.
  2. Remove the extra palindrome_checker() call at the bottom (since main() handles execution).

Once you update those, I’ll be happy to merge 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /