fizzbuzzy

Python package which prints Fizz, Buzz, FizzBuzz divisible by 3 and 5 and both


Keywords
fizz-buzz, fizzbuzz, fizzbuzz-python, python, python3
License
MIT
Install
pip install fizzbuzzy==0.0.1

Documentation

FizzBuzz

Fizz buzz is a group word game for children to teach them about division. Players take turns to count incrementally, replacing any number divisible by three with the word "fizz", and any number divisible by five with the word "buzz"

Fizz buzz Implementation

Simple python program which iterates the integers from 1 to 50. For multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz"

Usage

Download it by clicking the green download button here on Github. You only need to parse argument of range you the divisible by 3, 5 and both.

python main.py --range 50

or 

python main.py -r 50

Output

capture

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT