Skip to content

mbonav/roman_reverse_clock

Repository files navigation

Python 3.8

roman_reverse_clock

Information

This is an example code that includes three functions that performs the following tasks:

  1. Take a Roman numeral as its input and returns its value as an integer.

  2. Reverses each word in a string

  3. Given the time of the day (hours, minutes) return the angle between the hands on a clock.

Requirements

The required packages for this code are listed in the requirements.txt file

Installation:

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

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

Author and contributors

Mariangela Bonavita <mariangela.bonavita@gmail.com>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published