Skip to content
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

Linked answers to challenges do not work (Chapter 6) #11

Open
mullaney opened this issue Jul 7, 2017 · 2 comments
Open

Linked answers to challenges do not work (Chapter 6) #11

mullaney opened this issue Jul 7, 2017 · 2 comments

Comments

@mullaney
Copy link

mullaney commented Jul 7, 2017

  1. Use a method to make the string "aldous Huxley was born in 1894." grammatically correct by capitalizing the first letter in the sentence.

The code you provide produces this:

Aldous Huxley Was Born In 1894. He Was Born In The United Kingdom.

not

Aldous Huxley was born in 1894.

  1. Take the string "Where now? Who now? When now?" and call a method that returns a list that looks like: [" Where now?", "Who now?", "When now?"].

The code you provide produces:

['Where now', ' Who now', ' When now', '']

not

[" Where now?", "Who now?", "When now?"]

@LeRoyLippy
Copy link

I 2nd this. Using split seems to not only remove the character being used to split, but retains the character in the print result.

@Tico46
Copy link

Tico46 commented Jan 26, 2018

3rd this! Also just posted an issue with the next problem as well.

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

No branches or pull requests

3 participants