/python-fizzbuzz

Two variations of "FizzBuzz" using Python

Primary LanguagePython

Python FizzBuzz

Two function variations of "FizzBuzz".

Usage

Clone this repo & run:

python example.py

Output:

1,2,Fizz,4,Buzz,Fizz,7,8,Fizz,Buzz,11,Fizz,13,14,FizzBuzz,16,17,Fizz,19,Buzz
1,2,Fizz,4,Buzz,Fizz,7,8,Fizz,Buzz,11,Fizz,13,14,FizzBuzz,16,17,Fizz,19,Buzz

Testing

python tests.py