Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/santhoshse7en/fizzbuzz
Simple Python program to get Fizz, Buzz and FizzBuzz
https://github.com/santhoshse7en/fizzbuzz
fizz-buzz fizzbuzz fizzbuzz-python python python3
Last synced: about 1 month ago
JSON representation
Simple Python program to get Fizz, Buzz and FizzBuzz
- Host: GitHub
- URL: https://github.com/santhoshse7en/fizzbuzz
- Owner: santhoshse7en
- License: mit
- Created: 2019-03-06T12:46:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-29T13:52:37.000Z (over 5 years ago)
- Last Synced: 2024-09-19T15:18:32.162Z (about 2 months ago)
- Topics: fizz-buzz, fizzbuzz, fizzbuzz-python, python, python3
- Language: Python
- Homepage: https://santhoshse7en.github.io/FizzBuzz/
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```bash
python main.py --range 50or
python main.py -r 50
```## Output
![capture](https://user-images.githubusercontent.com/47944792/53887007-584fef00-4047-11e9-840e-cddb2e081210.PNG)
## 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](https://choosealicense.com/licenses/mit/)