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

Change sum-of-multiples exercise to require a function instead of a class #141

Closed
sjakobi opened this issue Oct 24, 2014 · 1 comment
Closed

Comments

@sjakobi
Copy link
Contributor

sjakobi commented Oct 24, 2014

At the core of the exercise is a simple mapping from a collection of numbers to a sum of multiples of those factors. This can be represented as a simple mathematical function and doesn't require any manipulation of an object.

The test suite should therefore require (and import) a function sum_of_multiples instead of a class.

For some discussion regarding the exercise see #139.

@kytrinyx
Copy link
Member

+1

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

2 participants