tusharsadhwani / ordinal

Get ordinals from numbers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Get ordinals from numbers

License:MIT License


Languages

Language:Python 100.0%