I am new to python so all help would be highly appreciated! I have learnt to use the enumerate method in my code, which gives a list tuples e.g. \'i like football\' giving the w
You can utilize the natural package to do this (and more).
pip install natural
Then using this code, you can print out ordinals:
>>> from natural import number >>> number.ordinal(3) u'3rd' >>> number.ordinal(1234567) u'1234567th'