This is an example code that includes three functions that performs the following tasks:
-
Take a Roman numeral as its input and returns its value as an integer.
-
Reverses each word in a string
-
Given the time of the day (hours, minutes) return the angle between the hands on a clock.
The required packages for this code are listed in the requirements.txt file
Download the current repository and install the package manually:
git clone git@github.com:mbonav/roman_reverse_clock.git
cd roman_reverse_clock/
make all
the make all command will install or upgrage the required packages included in the requirements.txt file, check that there are no errors in the code, and execute the test_code.py routine.
Alternatively, you can execute the
make install
make lint
make test
commands separately.
Examples of the use of the code are provided in the testcode.ipynb notebook.
If you find a bug or want to suggest improvements, please create a ticket
Mariangela Bonavita <mariangela.bonavita@gmail.com>