Skip to main content

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

Metadata

Release files for fizzbuzzy 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fizzbuzzy 0.0.1
File Size Uploaded
fizzbuzzy-0.0.1.tar.gz 2.1 kB Details

Release files / fizzbuzzy-0.0.1.tar.gz

Download URL fizzbuzzy-0.0.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
72b0b300815e6f94842a8d5fb3917cff207faf732b446fdb42b8742c88432074
BLAKE2b-256 checksum
How to use checksums
de9ef465489540c965ca535078112894b331b4cadeca0e213a81e591e8a4864c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page