-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Description
In the book you talk about using capitalize() for capitalizing the first letter of a sentence, but in the solution file you show using title(). And in the challenge question you have "Huxley" with a capital "H" but in the solution its lower case.
Now when I use capitalize, it makes the first letter of the sentence capital but makes every other words first letter lower case (i.e. "aldous Huxley was born in 1984." becomes "Aldous huxley was born in 1984.").
Then when I use title(), "aldous Huxley was born in 1984." becomes "Aldous Huxley Was Born In 1984."
I'm a little confused on what's going on....
Metadata
Metadata
Assignees
Labels
No labels