Armen Vartan b9a8397f34 files
2014-12-01 12:17:43 -05:00

10 lines
335 B
Markdown

I'm Fizz Buzzing Bro
====================
Write a function that takes a positive number, and returns you the sum of all multiples of 3 and 5, but not numbers that are multiples of 15.
In Python, here is how we define a function:
def multiples(num):
algorithm ##indentation is mandatory
return(sum) ##this is it, no closure!