Using python 3.0 I would like to achieve dense rank(do not skip number if the ranks are repeated ).I have the below array sorted according to score
rank_list