Skip to content

simplonco/python-sum-of-multiples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

If we list all the natural numbers up to but not including 20 that are multiples of either 3 or 5, we get 3, 5, 6 and 9, 10, 12, 15, and 18.

The sum of these multiples is 78.

Write a program that can find the sum of the multiples of a given set of numbers.

This exercise is currently under revision. You are still free to do this exercise and submit solutions. Depending on whether this track has been updated recently, the tests may differ between this track and other tracks.

In most tracks, the set of numbers must be explicitly provided. In some other tracks, if no set of numbers is given, it defaults to 3 and 5. We would like all tracks to require the set of numbers be explicit.

If you would like to help out, please join us at exercism/problem-specifications#198.

Releases

No releases published

Packages

No packages published

Languages