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

Add mentoring notes for leap in R #682

Merged
merged 1 commit into from
Jan 7, 2019

Conversation

jonmcalder
Copy link
Member

No description provided.

Copy link
Contributor

@sshine sshine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent notes!

@sshine sshine merged commit 9771e3a into exercism:master Jan 7, 2019
@jonmcalder jonmcalder deleted the mentoring-notes branch January 7, 2019 11:05
PTrottier pushed a commit to PTrottier/website-copy that referenced this pull request Jan 25, 2019
### Common suggestions
- there are just two cases that return True:
- a year is a multiple of 4 *and not* 100
- a year is a multiple of 4, 100, and 400
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the second condition should be "a year is a multiple of 400". Clearly it will be a multiple of 4 and 100. If we express the second in the current way, we should check the divisibility for 4 and 100 (again) and then 400 to match the description, which is not the case here, even in the sample solution.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tqa236 I see what you mean - thanks for the suggestion. Could you open a new PR with that change?

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.

4 participants