Skip to main content

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

Project description

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.

>> from fizzbuzz.fizzbuzz import looprange
>> looprange('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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fizzbuzzy, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size fizzbuzzy-0.0.1.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page