/FizzBuzz

Python implementation for FizzBuzz with customisable rules

Primary LanguagePythonMIT LicenseMIT

FizzBuzz

Python implementation for FizzBuzz with customisable rules. For more info see Wikipedia article

Requirements

  • Python 3

How to run

usage: main.py [-h] [-s START] [-e END] [-f FIZZ [FIZZ ...]] [-b BUZZ [BUZZ ...]]

Simple FuzzBuzz algorithm with user definable rules

optional arguments:
  -h, --help            show this help message and exit
  -s START, --start START
                        Start of number sequence. Defaults to 1
  -e END, --end END     End of number sequence. Defaults to 99
  -f FIZZ [FIZZ ...], --fizz FIZZ [FIZZ ...]
                        Fizz numbers. Defaults to 3
  -b BUZZ [BUZZ ...], --buzz BUZZ [BUZZ ...]
                        Buzz numbers. Defaults to 5

Disclaimer

This project has no significance. I was bored.. :)

License

MIT