https://github.com/alvaropaco/py-three-five
ThreeFive challenger Pyhton impllementation
https://github.com/alvaropaco/py-three-five
Last synced: about 2 months ago
JSON representation
ThreeFive challenger Pyhton impllementation
- Host: GitHub
- URL: https://github.com/alvaropaco/py-three-five
- Owner: alvaropaco
- License: gpl-3.0
- Created: 2019-03-31T18:34:41.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-31T21:02:46.000Z (about 6 years ago)
- Last Synced: 2025-02-12T09:59:44.452Z (4 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ThreeFive challenger Python implementation
[](https://circleci.com/gh/alvaropaco/py-three-five)
[](https://www.python.org/dev/peps/pep-0008/)This repository expose a simple ThreeFive challenger implementation using
a Docker image of Python 3.7 version.### Proposal
Return a string repesentation when a numero is multiple from Three, Five or
Both. When a number, from a range between 1 and 100 was multiple of Three, the
code will display a string `Three`. When the number was multiple of five, the
program will display a string `Five`. And when the number was multiple of both,
three and five will display `ThreeFive` string. In the same way, the code will
display the current number when it wasn't a multiple of three or five.### Usage
1. `docker compose -t threefive .`
2. `docker run threefive`This steps will build and run the code tests with coverage report.