https://github.com/julian-nash/python-fizzbuzz
Two variations of "FizzBuzz" using Python
https://github.com/julian-nash/python-fizzbuzz
Last synced: 9 months ago
JSON representation
Two variations of "FizzBuzz" using Python
- Host: GitHub
- URL: https://github.com/julian-nash/python-fizzbuzz
- Owner: Julian-Nash
- Created: 2019-04-02T00:07:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-02T00:11:42.000Z (over 6 years ago)
- Last Synced: 2025-01-24T14:18:07.309Z (11 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Python FizzBuzz
Two function variations of "FizzBuzz".
### Usage
Clone this repo & run:
```sh
python example.py
```
Output:
```sh
1,2,Fizz,4,Buzz,Fizz,7,8,Fizz,Buzz,11,Fizz,13,14,FizzBuzz,16,17,Fizz,19,Buzz
1,2,Fizz,4,Buzz,Fizz,7,8,Fizz,Buzz,11,Fizz,13,14,FizzBuzz,16,17,Fizz,19,Buzz
```
### Testing
```sh
python tests.py
```