Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ChadH1971
Copy link

The sample text from the book is not the same as the string in the code. The use of the title() capitalizes the first letter of each word without regard to the part of speech. Only "aldous" needs to be capitalized, so the capitalize() method is correct for what the challenge is asking for.

The sample text from the book is not the same as the string in the code. The use of the title() capitalizes the first letter of each word without regard to the part of speech. Only "aldous" needs to be capitalized, so the capitalize() method is correct for what the challenge is asking for.
@ChadH1971
Copy link
Author

On running the code using the capitalize() method, Huxley receives lower case. This exercise would require a bit more coding to be rendered grammatically correct.

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.

1 participant