Skip to content

MIA FTWD Jon #385

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

Closed
wants to merge 1 commit into from
Closed

MIA FTWD Jon #385

wants to merge 1 commit into from

Conversation

jonriquer
Copy link

No description provided.

@ta-web-mia
Copy link

Well done! There are 2 tiny edge cases that you can try and tackle if you're feeling up to it, but I wouldn't worry too much about it!

  1. Right now, your palindrome checker is failing for instance where the string has capital letters and spaces. You could fix this by making all of the characters the same capitalization, and by removing the spaces from the string.

  2. Your word count is very close, but it's 1 word short of the actual count right now (338 vs. 339). The reason this is happening is because words separated with a line break that start a new paragraph aren't separated by the empty space you're checking for. If you were to remove the line breaks from the string, it would work just fine. Or if you could find some way to check for line breaks, that would be even better.

If you have time, it might be good practice to try and do these things. But since the pace won't let up, I'd just consider them for now and think about them the next time you need to do something similar. Overall, you've done a great job with this assignment. Keep up the good work!

  • Nick

@ta-web-mia ta-web-mia closed this Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy