/ordinal

Get ordinals from numbers

Primary LanguagePythonMIT LicenseMIT

ordinal

CI Status

Get ordinals from numbers.

Example

from ordinal import ordinal
num = ordinal(42)
print(num) # 42nd

Testing

Clone the app and run the following:

pip install -e .
pytest