You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: