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

exercise 8.3: every other #96

Open
jgmbenoit opened this issue Jul 22, 2022 · 4 comments
Open

exercise 8.3: every other #96

jgmbenoit opened this issue Jul 22, 2022 · 4 comments

Comments

@jgmbenoit
Copy link

In exercise 8.3, we read

A step size of 2 means every other character;(...).

As non native English reader, I get confuse: is every other an idiom that means every two ?
I would favour plain English.

@AllenDowney
Copy link
Owner

AllenDowney commented Jul 22, 2022 via email

@jgmbenoit
Copy link
Author

"every second character" would be consistent with the spirit of the sentence, the (...) is in fact ``3 means every third, etc.''
(BTW, not sure of the semi-colon).
Best wishes,
Jerome

@OogieM
Copy link

OogieM commented Jul 23, 2022

Every second character is much harder for me to figure out. More explicit take one skipone seems more universal.

@jgmbenoit
Copy link
Author

I agree with @OogieM to say that `` take one, skip one'' is better for a wider audience. A long this line, I suggest:

A step size of 2 means take one character, skip one character; 3 means take one character, skip 2 characters; etc.

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