Skip to content

ghassan-ai-projects/fizzbuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

fizzbuzz

A configurable fizzbuzz CLI tool with customizable divisor-to-word mappings.

Installation

pip install .

Usage

Default rules (3 → Fizz, 5 → Buzz)

python -m fizzbuzz.cli --start 1 --end 15

Output:

1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz

Custom rules

python -m fizzbuzz.cli --start 1 --end 10 --rule 2=Even --rule 3=Three

Installed CLI

After pip install ., use the fizzbuzz command directly:

fizzbuzz --start 1 --end 20

Testing

python -m pytest tests/

About

FizzBuzz CLI tool - test project for Python + Seedance pipeline

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages