I\'m trying to write a code in Python to create a fractional ranking list for a given one. The fraction ranking is basically the following:
We have a list of numbers