code: def difference(cls, first, second):
          
  
          # so we always get a Rank instance even if string were passed in
          first, second = cls(first), cls(second)
          rank_list = list(cls)
          return abs(rank_list.index(first) - rank_list.index(second))
docs: Tells the numerical difference between two ranks.