files
This commit is contained in:
10
python/8-fizz-buzz-again/README.md
Normal file
10
python/8-fizz-buzz-again/README.md
Normal file
@ -0,0 +1,10 @@
|
||||
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!
|
1
python/8-fizz-buzz-again/multiples.py
Normal file
1
python/8-fizz-buzz-again/multiples.py
Normal file
@ -0,0 +1 @@
|
||||
def multiples(number):
|
Reference in New Issue
Block a user